diff options
author | michael-grunder <michael.grunder@gmail.com> | 2022-10-19 19:16:18 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2022-10-19 22:58:39 +0300 |
commit | d87f1428260b9270de6d0b7cef253057197f2987 (patch) | |
tree | d0834ff6cb3852c8878d1826603ef6938ab4658e /tests | |
parent | a176f58619a918376e66c385ce9dcf73dcc6287a (diff) |
Refactor SLOWLOG command
Refactor the slowlog command to use the new argument parsing API and
also change it so we no longer manually handle atomic/non-atomic
logic in the handler itself.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/RedisTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RedisTest.php b/tests/RedisTest.php index eab3e2f7..2dc654dc 100644 --- a/tests/RedisTest.php +++ b/tests/RedisTest.php @@ -2291,7 +2291,7 @@ class Redis_Test extends TestSuite $this->assertTrue(is_array($this->redis->slowlog('get', 10))); $this->assertTrue(is_int($this->redis->slowlog('len'))); $this->assertTrue($this->redis->slowlog('reset')); - $this->assertFalse($this->redis->slowlog('notvalid')); + $this->assertFalse(@$this->redis->slowlog('notvalid')); } public function testWait() { |