8000
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.
1 parent 400503b commit 426de2bCopy full SHA for 426de2b
tests/RedisTest.php
@@ -3456,6 +3456,22 @@ public function testPipelineMultiExec() {
3456
$this->assertEquals(5, count($ret)); // should be 5 atomic operations
3457
}
3458
3459
+ public function testMultiEmpty()
3460
+ {
3461
+ $ret = $this->redis->multi()->exec();
3462
+ $this->assertEquals([], $ret);
3463
+ }
3464
+
3465
+ public function testPipelineEmpty()
3466
3467
+ if (!$this->havePipeline()) {
3468
+ $this->markTestSkipped();
3469
3470
3471
+ $ret = $this->redis->pipeline()->exec();
3472
3473
3474
3475
/* GitHub issue #1211 (ignore redundant calls to pipeline or multi) */
3476
public function testDoublePipeNoOp() {
3477
/* Only the first pipeline should be honored */
0 commit comments