From 343e1c2e5561f591ace9e5495eb987e9725c45d9 Mon Sep 17 00:00:00 2001 From: Gavin Hanover Date: Mon, 5 Aug 2019 21:52:14 +0000 Subject: [PATCH] fix unit test, apparently exists() was changed to int instead of boolean --- tests/units/RedisMock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/units/RedisMock.php b/tests/units/RedisMock.php index e5d5ba6..e77c09e 100644 --- a/tests/units/RedisMock.php +++ b/tests/units/RedisMock.php @@ -157,8 +157,8 @@ public function testSetGetDelExists() ->isEqualTo(0); sleep(2); $this->assert - ->boolean($redisMock->exists('test-set-nx-ex')) - ->isFalse(); + ->integer($redisMock->exists('test-set-nx-ex')) + ->isEqualTo(0); //mget/mset test (roughly based on hmset/hmset tests) $this->assert