mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 11:27:52 +08:00
DEV: Change use of Redis flushall
to flushdb
.
FLUSHALL removes all keys from all databases. Instead we only want to remove keys from the current Redis database.
This commit is contained in:
@ -237,7 +237,7 @@ describe Auth::DefaultCurrentUserProvider do
|
||||
end
|
||||
|
||||
after do
|
||||
Discourse.redis.flushall
|
||||
Discourse.redis.flushdb
|
||||
end
|
||||
|
||||
it "should not update last seen for suspended users" do
|
||||
|
Reference in New Issue
Block a user