DEV: Fix flaky test when moving threads (#26590)

This commit is contained in:
Jan Cernik 2024-04-10 20:10:35 -05:00 committed by GitHub
parent d1cdac0e70
commit 389018c0cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ RSpec.describe "Move message to channel", type: :system do
fab!(:channel_1) { Fabricate(:chat_channel, threading_enabled: true) }
fab!(:channel_2) { Fabricate(:chat_channel, threading_enabled: true) }
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
fab!(:thread) do
chat_thread_chain_bootstrap(