Skip to content

Commit 166c099

Browse files
authored
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.
1 parent 74917fd commit 166c099

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/system/assign_topic_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
SiteSetting.prioritize_full_name_in_ux = false
1414
# The system tests in this file are flaky and auth token related so turning this on
1515
SiteSetting.verbose_auth_token_logging = true
16+
SiteSetting.whispers_allowed_groups = [Group[:staff].id]
1617

1718
sign_in(admin)
1819
end

0 commit comments

Comments
 (0)