Skip to content

Commit 577644a

Browse files
committed
resolve error
1 parent 9cd679b commit 577644a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static TestEnvironment()
131131
/// <summary>
132132
/// The URL of the Azure Authority host to be used for authentication. Recorded.
133133
/// </summary>
134-
public string AuthorityHostUrl => GetRecordedOptionalVariable("AZURE_AUTHORITY_HOST");
134+
public string AuthorityHostUrl => GetRecordedOptionalVariable("AZURE_AUTHORITY_HOST") ?? "https://login.microsoftonline.com/";
135135

136136
/// <summary>
137137
/// The suffix for Azure Storage accounts for the active cloud environment, such as "core.windows.net". Recorded.

0 commit comments

Comments
 (0)