Sfoglia il codice sorgente

Test suite: tiny fix in a test for LINSERT (again, this time for real).

Daniele Alessandri 14 anni fa
parent
commit
922beeceea
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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->linsert('foo', 0, 0);
+            $test->redis->linsert('foo', 'before', 0, 0);
         });
     }