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 @@ -44,7 +44,7 @@ void sslDisabledTest() {
4444 .sslMode (SslMode .DISABLED )
4545 .build ();
4646
47- assertThrows (R2dbcPermissionDeniedException .class , () -> MySqlConnectionFactory .from (configuration ).create ());
47+ assertThrows (R2dbcPermissionDeniedException .class , () -> MySqlConnectionFactory .from (configuration ).create (). block () );
4848 }
4949
5050 @ Test
@@ -61,7 +61,7 @@ void sslDisabledInvalidRsaConfig() {
6161 .serverRSAPublicKeyFile ("/path/to/mysql/serverRSAPublicKey.pem" )
6262 .build ();
6363
64- assertThrows (IllegalArgumentException .class , () -> MySqlConnectionFactory .from (configuration2 ).create ());
64+ assertThrows (IllegalArgumentException .class , () -> MySqlConnectionFactory .from (configuration2 ).create (). block () );
6565 }
6666
6767 @ Test
You can’t perform that action at this time.
0 commit comments