Skip to content

Commit

Permalink
fix unit test, apparently exists() was changed to int instead of boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
gm-ghanover committed Aug 5, 2019
1 parent 47500db commit 343e1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/units/RedisMock.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 343e1c2

Please sign in to comment.