Browse Source

Convert tests to use `ssl_opts`. Fixes #121

Сергей Прохоров 7 years ago
parent
commit
c8a44fe302
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/epgsql_SUITE.erl

+ 2 - 1
test/epgsql_SUITE.erl

@@ -237,7 +237,8 @@ connect_with_client_cert(Config) ->
              {ok, _, [{Serial2}]} = Module:equery(C, "select ssl_client_serial()")
              {ok, _, [{Serial2}]} = Module:equery(C, "select ssl_client_serial()")
          end,
          end,
          "epgsql_test_cert",
          "epgsql_test_cert",
-        [{ssl, true}, {keyfile, File("epgsql.key")}, {certfile, File("epgsql.crt")}]).
+        [{ssl, true}, {ssl_opts, [{keyfile, File("epgsql.key")},
+                                  {certfile, File("epgsql.crt")}]}]).
 
 
 -ifdef(have_maps).
 -ifdef(have_maps).
 connect_map(Config) ->
 connect_map(Config) ->