File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Common/Commands.Common.Test/Common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -878,7 +878,7 @@ public void SetAzureSubscriptionAsDefaultSetsDefaultAndCurrent()
878
878
Assert . Equal ( azureSubscription2 . Id , client . Profile . DefaultSubscription . Id ) ;
879
879
Assert . Equal ( azureSubscription2 . Id , AzureSession . CurrentContext . Subscription . Id ) ;
880
880
Assert . Throws < ArgumentException > ( ( ) => client . SetSubscriptionAsDefault ( "bad" , null ) ) ;
881
- Assert . Throws < ArgumentNullException > ( ( ) => client . SetSubscriptionAsDefault ( null , null ) ) ;
881
+ Assert . Throws < ArgumentException > ( ( ) => client . SetSubscriptionAsDefault ( null , null ) ) ;
882
882
}
883
883
884
884
[ Fact ]
@@ -917,7 +917,7 @@ public void SetAzureSubscriptionAsCurrentSetsCurrent()
917
917
918
918
Assert . Equal ( azureSubscription2 . Id , AzureSession . CurrentContext . Subscription . Id ) ;
919
919
Assert . Throws < ArgumentException > ( ( ) => client . SetSubscriptionAsCurrent ( "bad" , null ) ) ;
920
- Assert . Throws < ArgumentNullException > ( ( ) => client . SetSubscriptionAsCurrent ( null , null ) ) ;
920
+ Assert . Throws < ArgumentException > ( ( ) => client . SetSubscriptionAsCurrent ( null , null ) ) ;
921
921
}
922
922
923
923
[ Fact ]
You can’t perform that action at this time.
0 commit comments