Skip to content

Commit 7f108f2

Browse files
Merge branch '2.7' into 2.8
* 2.7: [Console] Add missing `@require` annotation in test Fix merge [appveyor] Fix failure reporting [#17634] move DebugBundle license file backport GlobTest from 2.7 branch Move licenses according to new best practices [FrameworkBundle] Remove unused code in test [2.3] Fixed an undefined variable in Glob::toRegex simplified a test fix container cache key generation [Form] fix option name in changelog [Translation] Add resources from fallback locale [DependencyInjection] enforce tags to have a name [YAML] Refine the return value of Yaml::parse() Conflicts: src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php
2 parents ed0bb20 + 8820c6c commit 7f108f2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323

2424
class PersistentTokenBasedRememberMeServicesTest extends \PHPUnit_Framework_TestCase
2525
{
26+
public static function setUpBeforeClass()
27+
{
28+
try {
29+
random_bytes(1);
30+
} catch (\Exception $e) {
31+
throw new \PHPUnit_Framework_SkippedTestError($e->getMessage());
32+
}
33+
}
34+
2635
public function testAutoLoginReturnsNullWhenNoCookie()
2736
{
2837
$service = $this->getService(null, array('name' => 'foo'));

0 commit comments

Comments
 (0)