Skip to content

Commit ff806b7

Browse files
author
Maddie Clayton
committed
fix build
1 parent d660509 commit ff806b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ResourceManager/Insights/Commands.Insights.Test/Diagnostics/SetDiagnosticSettingCommandTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public void SetWorkspace()
194194
[Trait(Category.AcceptanceType, Category.CheckIn)]
195195
public void SetSomeCategories()
196196
{
197-
cmdlet.Categories = new List<string> { "TestCategory1" };
197+
cmdlet.Category = new List<string> { "TestCategory1" };
198198
cmdlet.Enabled = false;
199199
cmdlet.MyInvocation.BoundParameters[SetAzureRmDiagnosticSettingCommand.EnabledParamName] = false;
200200
cmdlet.ExecuteCmdlet();
@@ -216,14 +216,14 @@ public void SetSomeCategories()
216216
Enabled = false
217217
}
218218
});
219-
cmdlet.Categories = new List<string> { "TestCategory3" };
219+
cmdlet.Category = new List<string> { "TestCategory3" };
220220
cmdlet.Enabled = false;
221221
cmdlet.MyInvocation.BoundParameters[SetAzureRmDiagnosticSettingCommand.EnabledParamName] = false;
222222
cmdlet.ExecuteCmdlet();
223223

224224
// Testing the new metric categories must be known before the cmdlet can add them
225225
expectedSettings.Metrics[0].Enabled = false;
226-
cmdlet.Categories = null;
226+
cmdlet.Category = null;
227227
cmdlet.MetricCategory = new List<string> { "MetricCat1" };
228228
cmdlet.Enabled = false;
229229
cmdlet.MyInvocation.BoundParameters[SetAzureRmDiagnosticSettingCommand.EnabledParamName] = false;
@@ -242,7 +242,7 @@ public void SetSomeCategories()
242242
[Trait(Category.AcceptanceType, Category.CheckIn)]
243243
public void SetSomeTimeGrains()
244244
{
245-
cmdlet.Timegrains = new List<string> { "PT1H" };
245+
cmdlet.Timegrain = new List<string> { "PT1H" };
246246
cmdlet.Enabled = false;
247247
cmdlet.MyInvocation.BoundParameters[SetAzureRmDiagnosticSettingCommand.EnabledParamName] = false;
248248
cmdlet.ExecuteCmdlet();

0 commit comments

Comments
 (0)