diff options
author | michael-grunder <michael.grunder@gmail.com> | 2022-10-11 08:57:10 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2022-10-11 08:57:36 +0300 |
commit | 457953f4fe027a856e951c43095f2549a937cdff (patch) | |
tree | 2b5fffd1b7940eb4df13731b5d58265c7a95596f /tests | |
parent | 3b0d8b77810a39a524b7c287d7ad646e93c20e60 (diff) |
Refactor and fix XPENDING handler
Fixes #2128
Diffstat (limited to 'tests')
-rw-r--r-- | tests/RedisTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/RedisTest.php b/tests/RedisTest.php index 044c7884..c55f65a8 100644 --- a/tests/RedisTest.php +++ b/tests/RedisTest.php @@ -6604,6 +6604,10 @@ class Redis_Test extends TestSuite $this->redis->xAck('s', 'group', [$id]); } } + + /* Ensure we can have NULL trailing arguments */ + $this->assertTrue(is_array($this->redis->xpending('s', 'group', '-', '+', 1, null))); + $this->assertTrue(is_array($this->redis->xpending('s', 'group', NULL, NULL, -1, NULL))); } public function testXDel() { |