mirror of
https://github.com/discourse/discourse.git
synced 2025-01-22 20:41:46 +08:00
DEV: correct test to visit category channel and not DM (#30441)
This commit is contained in:
parent
cf26d3f211
commit
96b5c28cf9
|
@ -114,7 +114,7 @@ RSpec.describe "Visit channel", type: :system do
|
|||
end
|
||||
|
||||
it "shows an error" do
|
||||
chat.visit_channel(inaccessible_dm_channel_1)
|
||||
chat.visit_channel(readonly_category_channel_1)
|
||||
|
||||
expect(page).to have_content(I18n.t("invalid_access"))
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user