Skip to content

Commit c740eee

Browse files
committed
Merge branch '2.8' into 3.2
* 2.8: Fixes a typo in the form collector styles [HttpKernel] Fixed bug with purging of HTTPS URLs fix some risky tests [DI] [YamlFileLoader] change error message of a non existing file [Security] Added option to return true in the method isRememberMeRequested
2 parents 0e1b15c + 047e97a commit c740eee

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Tests/PluralizationRulesTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public function successLangcodes()
6565
array('2', array('nl', 'fr', 'en', 'de', 'de_GE', 'hy', 'hy_AM')),
6666
array('3', array('be', 'bs', 'cs', 'hr')),
6767
array('4', array('cy', 'mt', 'sl')),
68-
array('5', array()),
6968
array('6', array('ar')),
7069
);
7170
}
@@ -86,7 +85,6 @@ public function failingLangcodes()
8685
array('3', array('cbs')),
8786
array('4', array('gd', 'kw')),
8887
array('5', array('ga')),
89-
array('6', array()),
9088
);
9189
}
9290

Tests/TranslatorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public function testSetFallbackValidLocales($locale)
156156
$translator = new Translator($locale, new MessageSelector());
157157
$translator->setFallbackLocales(array('fr', $locale));
158158
// no assertion. this method just asserts that no exception is thrown
159+
$this->addToAssertionCount(1);
159160
}
160161

161162
public function testTransWithFallbackLocale()
@@ -187,6 +188,7 @@ public function testAddResourceValidLocales($locale)
187188
$translator = new Translator('fr', new MessageSelector());
188189
$translator->addResource('array', array('foo' => 'foofoo'), $locale);
189190
// no assertion. this method just asserts that no exception is thrown
191+
$this->addToAssertionCount(1);
190192
}
191193

192194
public function testAddResourceAfterTrans()
@@ -390,6 +392,7 @@ public function testTransChoiceValidLocale($locale)
390392

391393
$translator->transChoice('foo', 1, array(), '', $locale);
392394
// no assertion. this method just asserts that no exception is thrown
395+
$this->addToAssertionCount(1);
393396
}
394397

395398
public function getTransFileTests()

0 commit comments

Comments
 (0)