mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Fix return array format of bogusDsnStringProvider
This commit is contained in:
parent
b0385d2959
commit
76412df8fd
1 changed files with 10 additions and 4 deletions
|
@ -53,6 +53,13 @@ class Resque_Tests_DsnTest extends Resque_Tests_TestCase
|
|||
false, false,
|
||||
array(),
|
||||
)),
|
||||
array('redis://foobar/', array(
|
||||
'foobar',
|
||||
Resque_Redis::DEFAULT_PORT,
|
||||
false,
|
||||
false, false,
|
||||
array(),
|
||||
)),
|
||||
array('redis://foobar:1234', array(
|
||||
'foobar',
|
||||
1234,
|
||||
|
@ -147,10 +154,9 @@ class Resque_Tests_DsnTest extends Resque_Tests_TestCase
|
|||
public function bogusDsnStringProvider()
|
||||
{
|
||||
return array(
|
||||
'http://foo.bar/',
|
||||
'://foo.bar/',
|
||||
'user:@foobar:1234?x=y&a=b',
|
||||
'foobar:1234?x=y&a=b',
|
||||
array('http://foo.bar/'),
|
||||
array('user:@foobar:1234?x=y&a=b'),
|
||||
array('foobar:1234?x=y&a=b'),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue