Readd Credis

This commit is contained in:
Daniel Mason 2018-05-30 19:05:13 +12:00
parent 493d6dc6d8
commit bd0a0c2dc8
5 changed files with 1599 additions and 26 deletions

View file

@ -20,10 +20,8 @@ class Resque_Tests_TestCase extends PHPUnit\Framework\TestCase
public function setUp()
{
// Setup redis connection on DB 9 for testing.
$this->redis = new Redis();
$this->redis->connect('localhost');
// Setup redis connection for testing.
$this->redis = new Credis_Client('localhost', '6379');
Resque::setBackend('localhost');
$this->redis->flushAll();
}