A platform for community discussion. Free, open, simple.
DEV: Fix bookmark flaky (#24327)
Martin Brennana8d6dc4d3a5c
diff --git a/plugins/chat/spec/requests/core_ext/users_controller_spec.rb b/plugins/chat/spec/requests/core_ext/users_controller_spec.rbindex b7ff5445fd2..d6cbe07224a 100644--- a/plugins/chat/spec/requests/core_ext/users_controller_spec.rb+++ b/plugins/chat/spec/requests/core_ext/users_controller_spec.rb@@ -35,6 +35,8 @@ describe UsersController dosign_in(current_user)end+ after { DiscoursePluginRegistry.reset_register!(:bookmarkables) }+it "does not return any unread notifications for chat bookmarks that the user no longer has access to" dobookmark_with_reminder =Fabricate(:bookmark, user: current_user, bookmarkable: bookmark_message)