浏览代码

Test suite: tiny fix in a test for LINSERT.

Daniele Alessandri 14 年之前
父节点
当前提交
02d7400d1f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/RedisCommandsTest.php

+ 1 - 1
test/RedisCommandsTest.php

@@ -845,7 +845,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
 
         RC::testForServerException($this, RC::EXCEPTION_WRONG_TYPE, function($test) {
             $test->redis->set('foo', 'bar');
-            $test->redis->lset('foo', 0, 0);
+            $test->redis->linsert('foo', 0, 0);
         });
     }