DEV: Make all admins TL4 in tests (#25435)

Make admins TL4 by default in tests, foregoing the need to call refresh_auto_groups on them.
This commit is contained in:
Ted Johansson
2024-03-26 11:41:12 +08:00
committed by GitHub
parent d9179468e4
commit 5ee23fc394
17 changed files with 17 additions and 18 deletions

View File

@ -507,7 +507,7 @@ RSpec.describe Group do
g = Group[:trust_level_2]
expect(g.human_users.count).to eq(g.user_count)
expect(g.human_users).to contain_exactly(user)
expect(g.human_users).to contain_exactly(admin, user)
end
it "can set members via usernames helper" do