Skip to content

Commit

Permalink
test query for failing test / stub request
Browse files Browse the repository at this point in the history
  • Loading branch information
vasconsaurus committed Jan 24, 2024
1 parent 7b47136 commit b8c827c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/parser/twitter_profile_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def stub_profile_lookup
test "it makes a get request to the user lookup by username endpoint successfully" do
stub_configs({'twitter_bearer_token' => 'test' })

WebMock.stub_request(:get, "https://api.twitter.com/2/users/by")
WebMock.stub_request(:any, "https://api.twitter.com/2/users/by")
.with(query: query)
.with(headers: {
"Authorization": "Bearer test",
Expand Down

0 comments on commit b8c827c

Please sign in to comment.