From ead964a8de8534f80be8915713eb92bb1951f0d1 Mon Sep 17 00:00:00 2001 From: sfc-gh-astachowski Date: Wed, 27 Nov 2024 12:03:31 +0100 Subject: [PATCH] Merge connection config parser test --- .../snowflake/client/config/SFConnectionConfigParserTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/snowflake/client/config/SFConnectionConfigParserTest.java b/src/test/java/net/snowflake/client/config/SFConnectionConfigParserTest.java index 6f3e97204..50dd75ff2 100644 --- a/src/test/java/net/snowflake/client/config/SFConnectionConfigParserTest.java +++ b/src/test/java/net/snowflake/client/config/SFConnectionConfigParserTest.java @@ -175,7 +175,7 @@ public void shouldThrowExceptionIfTokenIsNotSetForOauth() throws IOException { prepareConnectionConfigurationTomlFile( Collections.singletonMap("token_file_path", tokenFile.toString()), true, false, ""); - Assert.assertThrows( + assertThrows( SnowflakeSQLException.class, () -> SFConnectionConfigParser.buildConnectionParameters()); }