Skip to content

Commit 573ee51

Browse files
Merge branch '2.8' into 3.0
* 2.8: [Process] Fix transient tests for incremental outputs [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 upgrade file [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: UPGRADE-2.8.md
2 parents e9fef96 + 7f108f2 commit 573ee51

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)