Skip to content

Commit 56859bf

Browse files
committed
unit test fix
Signed-off-by: Sreekanth Vadigi <sreekanth.vadigi@databricks.com>
1 parent 9c7ae67 commit 56859bf

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

databricks-sdk-java/src/main/java/com/databricks/sdk/core/DatabricksConfig.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,6 @@ public String getEffectiveOAuthRedirectUrl() {
762762
return redirectUrl != null ? redirectUrl : "http://localhost:8080/callback";
763763
}
764764

765-
private static final String AZURE_AUTH_ENDPOINT = "/aad/auth";
766-
767765
/**
768766
* [Internal] Load the Azure tenant ID from the Azure Databricks login page. If the tenant ID is
769767
* already set, this method does nothing.
@@ -774,7 +772,8 @@ public void loadAzureTenantId() {
774772
return;
775773
}
776774

777-
String loginUrl = host + AZURE_AUTH_ENDPOINT;
775+
final String azureAuthEndpoint = "/aad/auth";
776+
String loginUrl = host + azureAuthEndpoint;
778777
logger.debug("Loading tenant ID from {}", loginUrl);
779778

780779
try {

0 commit comments

Comments
 (0)