mirror of
https://github.com/predis/predis.git
synced 2026-08-19 05:31:45 +00:00
Added tests for BGREWRITEAOF.
This commit is contained in:
@@ -1337,6 +1337,10 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
|
||||
$this->assertTrue($this->redis->backgroundSave());
|
||||
}
|
||||
|
||||
function testBackgroundRewriteAppendOnlyFile() {
|
||||
$this->assertTrue($this->redis->backgroundRewriteAppendOnlyFile());
|
||||
}
|
||||
|
||||
function testLastSave() {
|
||||
$this->assertGreaterThan(0, $this->redis->lastSave());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user