浏览代码

[tests] Fix some tests methods names.

Daniele Alessandri 10 年之前
父节点
当前提交
2d2de7837b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tests/Predis/Command/KeyRenamePreserveTest.php
  2. 1 1
      tests/Predis/Command/SetMembersTest.php

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