From 369efacd98e1e5328a807bbb3643d0effd5bbc46 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sat, 13 Feb 2016 20:45:33 -0600 Subject: [PATCH] Fix test failing on PHP 5.4 because of ::class keyword name resolution --- tests/src/Generator/SodiumRandomGeneratorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Generator/SodiumRandomGeneratorTest.php b/tests/src/Generator/SodiumRandomGeneratorTest.php index 05a6745..5a92cd1 100644 --- a/tests/src/Generator/SodiumRandomGeneratorTest.php +++ b/tests/src/Generator/SodiumRandomGeneratorTest.php @@ -35,7 +35,7 @@ class SodiumRandomGeneratorTest extends TestCase $uuid = \Ramsey\Uuid\Uuid::uuid4(); $this->assertInstanceOf( - SodiumRandomGenerator::class, + 'Ramsey\Uuid\Generator\SodiumRandomGenerator', $uuid->getFactory()->getRandomGenerator() ); }