Commit b1771de
authored
More unit test utility functions/usage. (#2509)
* More unit test utility functions/usage.
* Add `assertKeyEquals` and `assertKeyEqualsWeak` as we test key values
hundreds of places in `RedisTest.php`
* We are almost always using `$this->redis` when we want to run an
assertion that needs access to the client, so make this argument
optional and default to `$this->redis`.
* Update a few more assertions to use our new methods.
* Various minor fixes/tweaks.
* Update RedisTest.php
typo1 parent b808cc6 commit b1771de
2 files changed
Lines changed: 165 additions & 158 deletions
0 commit comments