From 90c88eed6a6104c1b103b965bb0e60e02be45c93 Mon Sep 17 00:00:00 2001 From: Devin Gaffney Date: Wed, 21 Aug 2024 08:34:20 -0700 Subject: [PATCH] fix broken test fixture --- test/models/bot/smooch_6_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models/bot/smooch_6_test.rb b/test/models/bot/smooch_6_test.rb index eed425a1b..f2eb12f6b 100644 --- a/test/models/bot/smooch_6_test.rb +++ b/test/models/bot/smooch_6_test.rb @@ -695,7 +695,7 @@ def send_message_outside_24_hours_window(template, pm = nil) pm = create_project_media team: @team publish_report(pm, {}, nil, { language: 'pt', use_visual_card: false }) Bot::Smooch.stubs(:get_search_results).returns([pm]) - WebMock.stub_request(:post, /\/similarity\/sync\/text/).to_return(body: {}.to_json) # For explainers + WebMock.stub_request(:post, /\/similarity\/async\/text/).to_return(body: {}.to_json) # For explainers Sidekiq::Testing.inline! do send_message 'hello', '1', '1', 'Foo bar', '1' end