Эх сурвалжийг харах

Force the test suite to run on a client initialized with the Redis 2.2 profile for now.

Daniele Alessandri 14 жил өмнө
parent
commit
96132ee50c

+ 1 - 1
test/PredisShared.php

@@ -49,7 +49,7 @@ class RC {
     }
     }
 
 
     private static function createConnection() {
     private static function createConnection() {
-        $serverProfile = Predis\RedisServerProfile::get('dev');
+        $serverProfile = Predis\RedisServerProfile::get('2.2');
         $connection = new Predis\Client(RC::getConnectionArguments(), $serverProfile);
         $connection = new Predis\Client(RC::getConnectionArguments(), $serverProfile);
         $connection->connect();
         $connection->connect();
         $connection->select(RC::DEFAULT_DATABASE);
         $connection->select(RC::DEFAULT_DATABASE);