Skip to content

Commit 5fc4a26

Browse files
Switch to HTTPS for ConnectionIntegrationTests#testIncorrectCredentialsForOAuth (#179)
1 parent 77aa49e commit 5fc4a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/databricks/jdbc/integration/connection/ConnectionIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void testIncorrectCredentialsForPAT() throws SQLException {
3535
@Test
3636
void testIncorrectCredentialsForOAuth() throws SQLException {
3737
String template =
38-
"jdbc:databricks://%s/default;transportMode=http;ssl=1;AuthMech=11;AuthFlow=0;httpPath=%s";
38+
"jdbc:databricks://%s/default;transportMode=https;ssl=1;AuthMech=11;AuthFlow=0;httpPath=%s";
3939
String url = String.format(template, getDatabricksHost(), getDatabricksHTTPPath());
4040
DatabricksSQLException e =
4141
assertThrows(

0 commit comments

Comments
 (0)