summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2016-02-02 14:44:19 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2016-02-02 14:44:19 +0100
commitc94edb64c5ca7cf92f0dfc3ebd4d60bf7ebbacb7 (patch)
tree3a3139d158ea1e18dcaf07920396e0bf34dfa2c2
parent08d3a452ce0d7f3a53c1690d27af32193faed9aa (diff)
parent91000c56750620d8bdb614057d8a17707854c8c3 (diff)
downloadsymfony-security-c94edb64c5ca7cf92f0dfc3ebd4d60bf7ebbacb7.zip
symfony-security-c94edb64c5ca7cf92f0dfc3ebd4d60bf7ebbacb7.tar.gz
symfony-security-c94edb64c5ca7cf92f0dfc3ebd4d60bf7ebbacb7.tar.bz2
Merge branch '2.8' into 3.0v3.0.2
* 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
-rw-r--r--Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php b/Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
index 581bdfa..30cf4a2 100644
--- a/Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
+++ b/Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
@@ -23,6 +23,15 @@ use Symfony\Component\Security\Core\Exception\CookieTheftException;
class PersistentTokenBasedRememberMeServicesTest extends \PHPUnit_Framework_TestCase
{
+ public static function setUpBeforeClass()
+ {
+ try {
+ random_bytes(1);
+ } catch (\Exception $e) {
+ throw new \PHPUnit_Framework_SkippedTestError($e->getMessage());
+ }
+ }
+
public function testAutoLoginReturnsNullWhenNoCookie()
{
$service = $this->getService(null, array('name' => 'foo'));