mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Readd Credis
This commit is contained in:
parent
493d6dc6d8
commit
bd0a0c2dc8
5 changed files with 1599 additions and 26 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue