Skip to content

Commit 5d875f2

Browse files
author
Hovsep
committed
Fixing failing tests
1 parent 9af8c44 commit 5d875f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Common/Commands.Common.Test/Common/ProfileClientTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ public void SetAzureSubscriptionAsDefaultSetsDefaultAndCurrent()
878878
Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id);
879879
Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id);
880880
Assert.Throws<ArgumentException>(() => client.SetSubscriptionAsDefault("bad", null));
881-
Assert.Throws<ArgumentNullException>(() => client.SetSubscriptionAsDefault(null, null));
881+
Assert.Throws<ArgumentException>(() => client.SetSubscriptionAsDefault(null, null));
882882
}
883883

884884
[Fact]
@@ -917,7 +917,7 @@ public void SetAzureSubscriptionAsCurrentSetsCurrent()
917917

918918
Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id);
919919
Assert.Throws<ArgumentException>(() => client.SetSubscriptionAsCurrent("bad", null));
920-
Assert.Throws<ArgumentNullException>(() => client.SetSubscriptionAsCurrent(null, null));
920+
Assert.Throws<ArgumentException>(() => client.SetSubscriptionAsCurrent(null, null));
921921
}
922922

923923
[Fact]

0 commit comments

Comments
 (0)