mirror of
https://github.com/predis/predis.git
synced 2026-08-31 04:35:05 +00:00
Force the test suite to load the server profile for Redis edge versions (development unstable).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user