diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl index a8cb364d..1591a5fe 100644 --- a/test/cowboy_test.erl +++ b/test/cowboy_test.erl @@ -111,7 +111,7 @@ gun_open(Config, Opts) -> {ok, ConnPid} = gun:open("localhost", config(port, Config), Opts#{ retry => 0, transport => config(type, Config), - transport_opts => proplists:get_value(transport_opts, Config, []), + tls_opts => proplists:get_value(tls_opts, Config, []), protocols => [config(protocol, Config)] }), ConnPid. diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl index ac6e4a91..174a38b9 100644 --- a/test/req_SUITE.erl +++ b/test/req_SUITE.erl @@ -186,7 +186,7 @@ cert(Config) -> do_cert(Config0) -> doc("A client TLS certificate was provided."), {CaCert, Cert, Key} = ct_helper:make_certs(), - Config = [{transport_opts, [ + Config = [{tls_opts, [ {cert, Cert}, {key, Key}, {cacerts, [CaCert]}