From fc4e279b9aca805a39d2a84b3cee2b32466aa4a0 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Fri, 29 Nov 2013 23:39:50 +0100 Subject: [PATCH] [tests] Fix tests on PHP 5.3. Stupid PHP 5.3. --- tests/PHPUnit/CommandTestCase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/PHPUnit/CommandTestCase.php b/tests/PHPUnit/CommandTestCase.php index 108fc14f..657234df 100644 --- a/tests/PHPUnit/CommandTestCase.php +++ b/tests/PHPUnit/CommandTestCase.php @@ -40,7 +40,7 @@ abstract class CommandTestCase extends StandardTestCase * * @return CommandInterface */ - protected function getCommand() + public function getCommand() { $command = $this->getExpectedCommand(); @@ -52,7 +52,7 @@ abstract class CommandTestCase extends StandardTestCase * * @return Profile\ProfileInterface */ - protected function getProfile() + public function getProfile() { return Profile\Factory::get(REDIS_SERVER_VERSION); } @@ -63,7 +63,7 @@ abstract class CommandTestCase extends StandardTestCase * @param Boolean $connect Flush selected database before returning the client. * @return Client */ - protected function getClient($flushdb = true) + public function getClient($flushdb = true) { $profile = $this->getProfile();