mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: correctly allows admin to visit a user chat's preferences page (#19619)
This commit is contained in:
@ -34,7 +34,7 @@ RSpec.describe "User chat preferences", type: :system, js: true do
|
||||
|
||||
context "as an admin on another user's preferences" do
|
||||
fab!(:current_user) { Fabricate(:admin) }
|
||||
fab!(:user_1) { Fabricate(:admin) }
|
||||
fab!(:user_1) { Fabricate(:user) }
|
||||
|
||||
before { sign_in(current_user) }
|
||||
|
||||
|
Reference in New Issue
Block a user