Skip to content

Commit 068aca1

Browse files
committed
Better tests.
1 parent 14ab085 commit 068aca1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/TestRedis.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,8 +1505,20 @@ public function testHashes() {
15051505

15061506
$this->redis->hSet('h', 'y', 'not-a-number');
15071507
$this->assertTrue(1 === $this->redis->hIncrBy('h', 'y', 1));
1508+
}
1509+
1510+
public function testMultiExec() {
1511+
$this->testSequence(Redis::MULTI);
1512+
}
15081513

1514+
public function testPipeline() {
1515+
$this->testSequence(Redis::PIPELINE);
15091516
}
1517+
1518+
private function testSequence($mode) {
1519+
1520+
}
1521+
15101522
}
15111523

15121524
?>

0 commit comments

Comments
 (0)