A platform for community discussion. Free, open, simple.
DEV: Don't output the expected error in a telegram spec (#39585)
Jarek Radosz684811afb71b
diff --git a/plugins/discourse-chat-integration/spec/system/setup_provider_spec.rb b/plugins/discourse-chat-integration/spec/system/setup_provider_spec.rbindex 8955e80e658..ab7e895c91a 100644--- a/plugins/discourse-chat-integration/spec/system/setup_provider_spec.rb+++ b/plugins/discourse-chat-integration/spec/system/setup_provider_spec.rb@@ -147,6 +147,8 @@ RSpec.describe "Chat integration setup provider" do"Content-Type" => "application/json",},)+ allow(Rails.logger).to receive(:error).and_call_original+ allow(Rails.logger).to receive(:error).with(/\AFailed to setup telegram webhook\./)setup_provider_from_menu("telegram")expect(modal).to be_open