Skip to content

Commit d0ea958

Browse files
committed
No need to coerce ssl context in tests
1 parent 59f3abd commit d0ea958

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/aleph/http_test.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@
13621362
(testing "with different HTTP versions in ALPN config"
13631363
(let [result (try-start-server
13641364
{:http-versions [:http2]
1365-
:ssl-context (netty/coerce-ssl-server-context
1365+
:ssl-context (netty/ssl-server-context
13661366
(assoc test-ssl/server-ssl-context-opts
13671367
:application-protocol-config
13681368
(netty/application-protocol-config [:http1])))})]
@@ -1371,7 +1371,7 @@
13711371
(testing "with different preference order in ALPN config"
13721372
(let [result (try-start-server
13731373
{:http-versions [:http2 :http1]
1374-
:ssl-context (netty/coerce-ssl-server-context
1374+
:ssl-context (netty/ssl-server-context
13751375
(assoc test-ssl/server-ssl-context-opts
13761376
:application-protocol-config
13771377
(netty/application-protocol-config [:http1 :http2])))})]
@@ -1389,7 +1389,7 @@
13891389
(testing "with matching ALPN config"
13901390
(let [result (try-start-server
13911391
{:http-versions [:http2 :http1]
1392-
:ssl-context (netty/coerce-ssl-server-context
1392+
:ssl-context (netty/ssl-server-context
13931393
(assoc test-ssl/server-ssl-context-opts
13941394
:application-protocol-config
13951395
(netty/application-protocol-config [:http2 :http1])))})]

0 commit comments

Comments
 (0)