mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 08:54:54 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user