File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
vertx-pg-client/src/test/java/io/vertx/pgclient Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public void testSslModeAllowFallback(TestContext ctx) {
125125 .setSslMode (SslMode .ALLOW )
126126 .setSslOptions (new ClientSSLOptions ().setTrustAll (true ));
127127 PgConnection .connect (vertx , new PgConnectOptions (options )).onComplete (ctx .asyncAssertSuccess (conn -> {
128- ctx .assertFalse (conn .isSSL ());
128+ ctx .assertTrue (conn .isSSL ());
129129 async .complete ();
130130 }));
131131 }
@@ -149,7 +149,7 @@ public void testSslModePreferFallback(TestContext ctx) {
149149 .setSslMode (SslMode .PREFER )
150150 .setSslOptions (new ClientSSLOptions ().setTrustAll (true ));
151151 PgConnection .connect (vertx , options ).onComplete (ctx .asyncAssertSuccess (conn -> {
152- ctx .assertTrue (conn .isSSL ());
152+ ctx .assertFalse (conn .isSSL ());
153153 async .complete ();
154154 }));
155155 }
You can’t perform that action at this time.
0 commit comments