Ver Fonte

[tests] Fix some tests methods names.

Daniele Alessandri há 9 anos atrás
pai
commit
2d2de7837b

+ 1 - 1
tests/Predis/Command/KeyRenamePreserveTest.php

@@ -75,7 +75,7 @@ class KeyRenamePreserveTest extends PredisCommandTestCase
      * @expectedException \Predis\Response\ServerException
      * @expectedExceptionMessage ERR no such key
      */
-    public function testReturnsFalseOnNonExistingKeys()
+    public function testThrowsExceptionOnNonExistingKeys()
     {
         $redis = $this->getClient();
 

+ 1 - 1
tests/Predis/Command/SetMembersTest.php

@@ -63,7 +63,7 @@ class SetMembersTest extends PredisCommandTestCase
     /**
      * @group connected
      */
-    public function testReturnsFalseOnNonExistingSet()
+    public function testReturnsEmptyArrayOnNonExistingSet()
     {
         $redis = $this->getClient();