File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
r2dbc-mysql/src/test/java/io/asyncer/r2dbc/mysql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ void sslDisabledTest() {
148148 .sslMode (SslMode .DISABLED )
149149 .build ();
150150
151- assertThrows (R2dbcPermissionDeniedException .class , () -> MySqlConnectionFactory .from (configuration ).create (). block () );
151+ assertThrows (R2dbcPermissionDeniedException .class , () -> MySqlConnectionFactory .from (configuration ).create ());
152152 }
153153
154154 @ Test
@@ -166,7 +166,7 @@ void sslDisabledInvalidRsaConfig() {
166166 .serverRSAPublicKeyFile ("/path/to/mysql/serverRSAPublicKey.pem" )
167167 .build ();
168168
169- assertThrows (IllegalArgumentException .class , () -> MySqlConnectionFactory .from (configuration2 ).create (). block () );
169+ assertThrows (IllegalArgumentException .class , () -> MySqlConnectionFactory .from (configuration2 ).create ());
170170 }
171171
172172 @ Test
You can’t perform that action at this time.
0 commit comments