diff options
author | Loïc Hoguin <[email protected]> | 2019-09-06 13:33:15 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-09-06 13:33:15 +0200 |
commit | 86c16fdccc48b1e97424a1e1fd59d95ebf4a35a3 (patch) | |
tree | b352bf1caa82af934f08fb84a7e7f884ffec6234 | |
parent | 36441d35bd4e82f8bfca775fbff7e4eabd03397a (diff) | |
download | cowboy-86c16fdccc48b1e97424a1e1fd59d95ebf4a35a3.tar.gz cowboy-86c16fdccc48b1e97424a1e1fd59d95ebf4a35a3.tar.bz2 cowboy-86c16fdccc48b1e97424a1e1fd59d95ebf4a35a3.zip |
Rename Gun's transport_opts to tls_opts
-rw-r--r-- | test/cowboy_test.erl | 2 | ||||
-rw-r--r-- | test/req_SUITE.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl index a8cb364..1591a5f 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 ac6e4a9..174a38b 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]} |