Skip to content

Commit ab170e7

Browse files
committed
[12.x] replace flushAll with flushDb in MemoizedStoreTest
1 parent fd67b5c commit ab170e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Integration/Cache/MemoizedStoreTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ protected function setUp(): void
3232
$this->setUpRedis();
3333

3434
Config::set('cache.default', 'redis');
35-
Redis::flushAll();
35+
Redis::connection(Config::get('cache.stores.redis.connection'))->flushDb();
36+
Redis::connection(Config::get('cache.stores.redis.lock_connection'))->flushDb();
3637
}
3738

3839
protected function tearDown(): void

0 commit comments

Comments
 (0)