From 76412df8fd519af2b7bcc51ae209e3dc5cb80b39 Mon Sep 17 00:00:00 2001 From: Iskandar Najmuddin Date: Mon, 5 May 2014 15:29:52 +0000 Subject: [PATCH] Fix return array format of `bogusDsnStringProvider` --- test/Resque/Tests/DsnTest.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/test/Resque/Tests/DsnTest.php b/test/Resque/Tests/DsnTest.php index 282a088..086db1e 100755 --- a/test/Resque/Tests/DsnTest.php +++ b/test/Resque/Tests/DsnTest.php @@ -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'), ); }