From 16643230e787684659eb61f97a3adcc28fbd5b71 Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Mon, 23 Apr 2018 14:18:52 +0200 Subject: [PATCH] Fix tests for serialization type --- Tests/DependencyInjection/SncRedisExtensionTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } /**