diff --git a/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php b/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php index 5491dde..7e65329 100644 --- a/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php +++ b/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php @@ -23,6 +23,12 @@ public function lPush($key, ...$value1) { return false; } public function rPush($key, ...$value1) { return false; } public function blPop($key, $timeout_or_key, ...$extra_args) { return []; } + + public function scan(&$iterator, $pattern = null, $count = 0) + { + $iterator = 0; + return ['something']; + } }; return new $fakeRedis;