Skip to content

Commit

Permalink
Merge branch '2.7' into 2.8
Browse files Browse the repository at this point in the history
* 2.7:
  Minor fixes
  [Console] Overcomplete argument exception message tweak.
  • Loading branch information
fabpot committed Jul 30, 2016
2 parents 7ce9817 + 7dfe708 commit 32b0c82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/PluralizationRulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PluralizationRulesTest extends \PHPUnit_Framework_TestCase
*/
public function testFailedLangcodes($nplural, $langCodes)
{
$matrix = $this->generateTestData($nplural, $langCodes);
$matrix = $this->generateTestData($langCodes);
$this->validateMatrix($nplural, $matrix, false);
}

Expand All @@ -46,7 +46,7 @@ public function testFailedLangcodes($nplural, $langCodes)
*/
public function testLangcodes($nplural, $langCodes)
{
$matrix = $this->generateTestData($nplural, $langCodes);
$matrix = $this->generateTestData($langCodes);
$this->validateMatrix($nplural, $matrix);
}

Expand Down Expand Up @@ -108,7 +108,7 @@ protected function validateMatrix($nplural, $matrix, $expectSuccess = true)
}
}

protected function generateTestData($plural, $langCodes)
protected function generateTestData($langCodes)
{
$matrix = array();
foreach ($langCodes as $langCode) {
Expand Down

0 comments on commit 32b0c82

Please sign in to comment.