DEV: Fix broken plugin specs because of bookmarkable changes (#20574)
This commit is contained in:
parent
b5cd22edb6
commit
a252022117
|
@ -15,7 +15,7 @@ describe ChatMessageBookmarkable do
|
||||||
UserChatChannelMembership.create(chat_channel: channel, user: user, following: true)
|
UserChatChannelMembership.create(chat_channel: channel, user: user, following: true)
|
||||||
end
|
end
|
||||||
|
|
||||||
after { DiscoursePluginRegistry.reset! }
|
after { DiscoursePluginRegistry.reset_register!(:bookmarkables) }
|
||||||
|
|
||||||
let!(:message1) { Fabricate(:chat_message, chat_channel: channel) }
|
let!(:message1) { Fabricate(:chat_message, chat_channel: channel) }
|
||||||
let!(:message2) { Fabricate(:chat_message, chat_channel: channel) }
|
let!(:message2) { Fabricate(:chat_message, chat_channel: channel) }
|
||||||
|
|
Loading…
Reference in New Issue