Browse Source

Test suite: tiny fix in a test for LINSERT.

Daniele Alessandri 14 năm trước cách đây
mục cha
commit
02d7400d1f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
         });
     }