mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:43:15 +08:00
DEV: Fix flaky test when moving threads (#26590)
This commit is contained in:
parent
d1cdac0e70
commit
389018c0cb
|
@ -68,7 +68,7 @@ RSpec.describe "Move message to channel", type: :system do
|
||||||
fab!(:channel_1) { Fabricate(:chat_channel, threading_enabled: true) }
|
fab!(:channel_1) { Fabricate(:chat_channel, threading_enabled: true) }
|
||||||
fab!(:channel_2) { Fabricate(:chat_channel, threading_enabled: true) }
|
fab!(:channel_2) { Fabricate(:chat_channel, threading_enabled: true) }
|
||||||
fab!(:message_1) do
|
fab!(:message_1) do
|
||||||
Fabricate(:chat_message, chat_channel: channel_1, user: current_admin_user)
|
Fabricate(:chat_message, chat_channel: channel_1, user: current_admin_user, message: "hi")
|
||||||
end
|
end
|
||||||
fab!(:thread) do
|
fab!(:thread) do
|
||||||
chat_thread_chain_bootstrap(
|
chat_thread_chain_bootstrap(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user