Skip to content

Commit

Permalink
Fixed the tests added in commit [fdd7402] to include the HTTPoisonReq…
Browse files Browse the repository at this point in the history
…uest structure added in [0ad936f].
  • Loading branch information
ShahneRodgers committed Dec 15, 2018
1 parent f31f580 commit 0f48d46
Showing 1 changed file with 37 additions and 6 deletions.
43 changes: 37 additions & 6 deletions test/httpoison_base_test.exs
Original file line number Diff line number Diff line change
@@ -386,7 +386,13 @@ defmodule HTTPoisonBaseTest do
status_code: 200,
headers: "headers",
body: "response",
request_url: "http://www.somedomain.com"
request_url: "http://www.somedomain.com",
request: %HTTPoison.Request{
url: "http://www.somedomain.com",
body: "body",
method: :post,
options: [proxy: "proxy"]
}
}
end

@@ -402,7 +408,12 @@ defmodule HTTPoisonBaseTest do
status_code: 200,
headers: "headers",
body: "response",
request_url: "http://www.somedomain.com"
request_url: "http://www.somedomain.com",
request: %HTTPoison.Request{
url: "http://www.somedomain.com",
body: "body",
method: :post
}
}
end

@@ -417,7 +428,12 @@ defmodule HTTPoisonBaseTest do
status_code: 200,
headers: "headers",
body: "response",
request_url: "http://www.somedomain.com"
request_url: "http://www.somedomain.com",
request: %HTTPoison.Request{
url: "http://www.somedomain.com",
body: "body",
method: :post
}
}
end

@@ -432,7 +448,12 @@ defmodule HTTPoisonBaseTest do
status_code: 200,
headers: "headers",
body: "response",
request_url: "http://www.matching.com"
request_url: "http://www.matching.com",
request: %HTTPoison.Request{
url: "http://www.matching.com",
body: "body",
method: :post
}
}
end

@@ -447,7 +468,12 @@ defmodule HTTPoisonBaseTest do
status_code: 200,
headers: "headers",
body: "response",
request_url: "http://www.matching.com"
request_url: "http://www.matching.com",
request: %HTTPoison.Request{
url: "http://www.matching.com",
body: "body",
method: :post
}
}
end

@@ -462,7 +488,12 @@ defmodule HTTPoisonBaseTest do
status_code: 200,
headers: "headers",
body: "response",
request_url: "http://www.matching.com"
request_url: "http://www.matching.com",
request: %HTTPoison.Request{
url: "http://www.matching.com",
body: "body",
method: :post
}
}
end

0 comments on commit 0f48d46

Please sign in to comment.