mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Enable redis server in travis for testing
This commit is contained in:
parent
bc39882dd7
commit
c862009505
6 changed files with 1541 additions and 11 deletions
|
@ -22,7 +22,7 @@ class Resque_Tests_TestCase extends PHPUnit\Framework\TestCase
|
|||
{
|
||||
// $config = file_get_contents(REDIS_CONF);
|
||||
// preg_match('#^\s*port\s+([0-9]+)#m', $config, $matches);
|
||||
$this->redis = new \Redis();
|
||||
$this->redis = new Redis();
|
||||
$this->redis->connect('localhost');
|
||||
$this->redis->select(9);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue