Skip to content

Commit

Permalink
fix broken test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Aug 21, 2024
1 parent 4b2066b commit 90c88ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/bot/smooch_6_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90c88ee

Please sign in to comment.