diff --git a/Tests/DependencyInjection/SncRedisExtensionTest.php b/Tests/DependencyInjection/SncRedisExtensionTest.php index abbfeda2..f467feeb 100644 --- a/Tests/DependencyInjection/SncRedisExtensionTest.php +++ b/Tests/DependencyInjection/SncRedisExtensionTest.php @@ -333,10 +333,7 @@ public function testLoadSerializationType() $options = $container->getDefinition('snc_redis.client.default_options')->getArgument(0); $serializationType = $extension->loadSerializationType($options['serialization']); $this->assertTrue(is_integer($serializationType)); - - $defaultType = defined('Redis::SERIALIZER_IGBINARY') ? 2 : 1; - - $this->assertEquals($defaultType, $serializationType); + $this->assertEquals(\Redis::SERIALIZER_NONE, $serializationType); } /**