Explorar o código

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

Daniele Alessandri %!s(int64=15) %!d(string=hai) anos
pai
achega
922beeceea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         });
     }