Skip to content

Commit 5b507d2

Browse files
committed
update test
1 parent 0748fdb commit 5b507d2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public UpdateAzureVMImageCmdletInfo(
5252
Uri privacyUri,
5353
DateTime publishedDate,
5454
string language,
55-
string iconUri,
56-
string smallIconUri,
55+
string iconName,
56+
string smallIconName,
5757
bool showInGui)
5858
: this(imageName, label, recommendedSize, null, !showInGui)
5959
{
@@ -81,13 +81,13 @@ public UpdateAzureVMImageCmdletInfo(
8181
{
8282
cmdletParams.Add(new CmdletParam("Language", language));
8383
}
84-
if (!string.IsNullOrEmpty(iconUri))
84+
if (!string.IsNullOrEmpty(iconName))
8585
{
86-
cmdletParams.Add(new CmdletParam("IconUri", iconUri));
86+
cmdletParams.Add(new CmdletParam("IconName", iconName));
8787
}
88-
if (!string.IsNullOrEmpty(smallIconUri))
88+
if (!string.IsNullOrEmpty(smallIconName))
8989
{
90-
cmdletParams.Add(new CmdletParam("SmallIconUri", smallIconUri));
90+
cmdletParams.Add(new CmdletParam("SmallIconName", smallIconName));
9191
}
9292
}
9393
}

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,15 +695,15 @@ private void UpdateAzureVMImageDetails(string imageName)
695695
Eula = "End user licensce agreement value",
696696
ImageFamily = OS.Windows.ToString(),
697697
Description = "Description",
698-
IconUri = @"http://www.bing.com/",
698+
IconUri = "IconName",
699699
ImageName = imageName,
700700
Label = imageName,
701701
Language = "English",
702702
PrivacyUri = new Uri(@"http://www.bing.com"),
703703
PublishedDate = DateTime.Now,
704704
RecommendedVMSize = InstanceSize.Medium.ToString(),
705705
ShowInGui = false,
706-
SmallIconUri = @"http://www.bing.com/",
706+
SmallIconUri = "SmallIconName",
707707
};
708708

709709
Utilities.ExecuteAndLog(() =>

0 commit comments

Comments
 (0)