Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Oct 13, 2023
1 parent c5cf36f commit 262ab25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simple_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule SimpleTest do
port = Container.mapped_port(container, 80)
{:ok, :port_is_open} = PortChecker.wait_for_port("localhost", port, 5000)

{:ok, 200, _headers, body_ref} = :hackney.get("http://localhost:#{port}")
{:ok, 200, _headers, body_ref} = :hackney.request(:get, "http://localhost:#{port}", [follow_redirect: true, max_redirect: 5, force_redirect: true])
{:ok, body} = :hackney.body(body_ref)
body_str = IO.iodata_to_binary(body)

Expand Down

0 comments on commit 262ab25

Please sign in to comment.