Explorar o código

[tests] Fix tests on PHP 5.3.

Stupid PHP 5.3.
Daniele Alessandri %!s(int64=11) %!d(string=hai) anos
pai
achega
fc4e279b9a
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      tests/PHPUnit/CommandTestCase.php

+ 3 - 3
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();