DEV: Update test setup to work with auto groups (#184)

We're updating core to change TL based access settings to be group based. This requires some updates of tests to work correctly. (The existing test setup gives false positives.)
This commit is contained in:
Ted Johansson 2024-01-15 17:31:06 +08:00 committed by GitHub
parent 30ac835e1d
commit d1e9f00883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ RSpec.describe DiscourseChatIntegration::Manager do
end
describe "with create_small_action_post_for_tag_changes enabled" do
fab!(:admin) { Fabricate(:admin) }
fab!(:admin) { Fabricate(:admin, refresh_auto_groups: true) }
fab!(:additional_tag) { Fabricate(:tag) }
before { SiteSetting.create_post_for_category_and_tag_changes = true }