We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4842cd + 90bdf9e commit 48b3e6bCopy full SHA for 48b3e6b
tests/TestRedis.php
@@ -2394,8 +2394,9 @@ protected function sequence($mode) {
2394
->expireAt('key', '0000')
2395
->exec();
2396
$this->assertTrue(is_array($ret));
2397
- $i = 0;
2398
- $this->assertTrue($ret[$i++] == -1);
+ $i = 0;
+ $ttl = $ret[$i++];
2399
+ $this->assertTrue($ttl === -1 || $ttl === -2);
2400
$this->assertTrue($ret[$i++] === array('val1', 'valX', FALSE)); // mget
2401
$this->assertTrue($ret[$i++] === TRUE); // mset
2402
$this->assertTrue($ret[$i++] === TRUE); // set
0 commit comments