From 262ab25d549954cc20addefcd0f20e642cc0b03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarl=20Andr=C3=A9=20H=C3=BCbenthal?= Date: Fri, 13 Oct 2023 10:13:47 +0200 Subject: [PATCH] test --- test/simple_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simple_test.exs b/test/simple_test.exs index c5431e6..293f6d9 100644 --- a/test/simple_test.exs +++ b/test/simple_test.exs @@ -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)