DEV: Fix assign spec to account for assignment created as whispers (#662)

When `assigns_public` is `false`, assignment posts are created as
whispers. Users cannot see whispers if they are not part of the groups
specified by the `whispers_allowed_groups` site setting.
This commit is contained in:
Alan Guo Xiang Tan 2025-06-13 11:36:20 +08:00 committed by GitHub
parent 74917fda18
commit 166c099b04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ describe "Assign | Assigning topics", type: :system do
SiteSetting.prioritize_full_name_in_ux = false
# The system tests in this file are flaky and auth token related so turning this on
SiteSetting.verbose_auth_token_logging = true
SiteSetting.whispers_allowed_groups = [Group[:staff].id]
sign_in(admin)
end