Skip to content

Commit 5659b4a

Browse files
committed
Update EnvironmentSetupHelper.cs
1 parent 53b897b commit 5659b4a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,6 @@ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode)
199199
ProfileClient.Profile.Subscriptions[testSubscription.Id] = testSubscription;
200200
ProfileClient.Profile.Accounts[testAccount.Id] = testAccount;
201201
ProfileClient.SetSubscriptionAsDefault(testSubscription.Name, testSubscription.Account);
202-
203-
var profileClient = new RMProfileClient(AzureRMCmdlet.DefaultProfile);
204-
AzureRMCmdlet.DefaultProfile.Context = profileClient.SetCurrentContext(testSubscription.Id.ToString(), "72f988bf-86f1-41af-91ab-2d7cd011db47");
205202
}
206203
}
207204

0 commit comments

Comments
 (0)