Skip to content

Commit 0c92487

Browse files
committed
Fix failing unit tests
1 parent ef6a752 commit 0c92487

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/AzureAuth.Test/CommandAadTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ public void TestEvaluateOptionsProvidedAliasWithEnvVarConfig()
236236

237237
// Specify config via env var
238238
this.envMock.Setup(e => e.Get("AZUREAUTH_CONFIG")).Returns(configFile);
239+
this.envMock.Setup(env => env.Get(It.Is<string>(key => key != "AZUREAUTH_CONFIG"))).Returns<string>(key => null);
239240

240241
// Specify a client override on the command line.
241242
subject.Client = clientOverride;

0 commit comments

Comments
 (0)