Skip to content

Conversation

@maddieclayton
Copy link
Contributor

@maddieclayton maddieclayton commented Oct 8, 2018

Description

#7360

Checklist

@maddieclayton
Copy link
Contributor Author

{
var subscriptions = _client.ListSubscriptions(tenant);
WriteObject(subscriptions.Select((s) => new PSAzureSubscription(s)), enumerateCollection: true);
if (DefaultContext.Account.Type.Equals("ManagedService"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please file an issue to add some automation for this - we have the infrastructure to mock managed service tests, and we should have some regression protection for thsi scenario.

Please make sure you have tested this in CloudShell. LMK if you need some help in doign this.

@markcowl
Copy link
Member

@maddieclayton Please file the issue for automated mocked tests for this

@maddieclayton
Copy link
Contributor Author

Test coverage issue here: #7536

I did test is on CloudShell and everything worked as expected.

@maddieclayton maddieclayton merged commit 7d14c75 into Azure:preview Oct 12, 2018
@maddieclayton maddieclayton deleted the cloudshell branch October 12, 2018 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants