Skip to content

Commit bf08051

Browse files
committed
Merge pull request Azure#797 from j82w/dev
Fixed ServerActiveDirectoryAdministratorTest
2 parents 21d8e7f + b23decf commit bf08051

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlEvnSetupHelper.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ public void SetupEnvironment()
8989
ProfileClient.Profile.Accounts[testAccount.Id] = testAccount;
9090
ProfileClient.SetSubscriptionAsDefault(testSubscription.Name, testSubscription.Account);
9191

92+
var environment = ProfileClient.Profile.Environments[ProfileClient.Profile.DefaultSubscription.Environment];
93+
environment.Endpoints[AzureEnvironment.Endpoint.Graph] = csmEnvironment.Endpoints.GraphUri.AbsoluteUri;
94+
9295
ProfileClient.Profile.Save();
9396
}
9497
}

0 commit comments

Comments
 (0)