mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 14:08:32 +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:
@ -293,7 +293,7 @@ RSpec.describe Admin::UsersController do
|
||||
fab!(:another_user) { Fabricate(:coding_horror) }
|
||||
|
||||
after do
|
||||
Discourse.redis.flushall
|
||||
Discourse.redis.flushdb
|
||||
end
|
||||
|
||||
it "raises an error when the user doesn't have permission" do
|
||||
|
Reference in New Issue
Block a user