Przeglądaj źródła

Test suite: tiny fix in a test for LINSERT.

Daniele Alessandri 14 lat temu
rodzic
commit
02d7400d1f
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
         });
     }