A platform for community discussion. Free, open, simple.
DEV: Remove unnecessary method call in system tests teardown (#24998)
Alan Guo Xiang Tan20f950a116dc
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rbindex 68da4628cce..c10c5857d77 100644--- a/spec/rails_helper.rb+++ b/spec/rails_helper.rb@@ -563,7 +563,6 @@ RSpec.configure do |config|page.execute_script("if (typeof MessageBus !== 'undefined') { MessageBus.stop(); }")MessageBus.backend_instance.reset! # Clears all existing backlog from memory backend- Scheduler::Defer.do_all_work # Process everything that was added to the defer queue when running the testDiscourse.redis.flushdbend