Browse Source

Test suite: tiny fix in a test for LINSERT.

Daniele Alessandri 14 years ago
parent
commit
02d7400d1f
1 changed files with 1 additions and 1 deletions
  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) {
         RC::testForServerException($this, RC::EXCEPTION_WRONG_TYPE, function($test) {
             $test->redis->set('foo', 'bar');
             $test->redis->set('foo', 'bar');
-            $test->redis->lset('foo', 0, 0);
+            $test->redis->linsert('foo', 0, 0);
         });
         });
     }
     }