FIX: correctly allows admin to visit a user chat's preferences page (#19619)

This commit is contained in:
Joffrey JAFFEUX
2022-12-23 21:18:09 +01:00
committed by GitHub
parent 03d32f26bb
commit df11457d56
3 changed files with 3 additions and 3 deletions

View File

@ -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) }