DEV: Fix broken plugin specs because of bookmarkable changes (#20574)

This commit is contained in:
Martin Brennan 2023-03-08 12:39:51 +10:00 committed by GitHub
parent b5cd22edb6
commit a252022117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) }