From e637881c2d4a17558c200dfd37f3e5f6dc7d77a3 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Thu, 31 Dec 2009 12:18:34 +0100 Subject: [PATCH] Force the test suite to load the server profile for Redis edge versions (development unstable). --- test/PredisShared.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/PredisShared.php b/test/PredisShared.php index e22e84c7..6f52c741 100644 --- a/test/PredisShared.php +++ b/test/PredisShared.php @@ -25,7 +25,8 @@ class RC { private static $_connection; private static function createConnection() { - $connection = new Predis\Client(array('host' => RC::SERVER_HOST, 'port' => RC::SERVER_PORT)); + $serverProfile = new Predis\RedisServer__Futures(); + $connection = new Predis\Client(array('host' => RC::SERVER_HOST, 'port' => RC::SERVER_PORT), $serverProfile); $connection->connect(); $connection->selectDatabase(RC::DEFAULT_DATABASE); return $connection;