Skip to content

Commit

Permalink
change blah to proper type
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Jan 29, 2024
1 parent b252a37 commit bb42266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/bot/alegre_v2_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def teardown
pm1 = create_project_media team: @team, media: create_uploaded_audio
response = {}
WebMock.stub_request(:post, "#{CheckConfig.get('alegre_host')}/similarity/sync/audio").with(body: {:doc_id=>Bot::Alegre.item_doc_id(pm1), :context=>{:team_id=>pm1.team_id, :project_media_id=>pm1.id, :has_custom_id=>true}, :url=>Bot::Alegre.media_file_url(pm1)}).to_return(body: response.to_json)
assert_equal Bot::Alegre.safe_get_sync(pm1, "blah", 0.9), {}
assert_equal Bot::Alegre.safe_get_sync(pm1, "audio", 0.9), {}
end

test "should run delete request" do
Expand Down

0 comments on commit bb42266

Please sign in to comment.