Skip to content

Commit 521df62

Browse files
committed
update Test
1 parent e540a57 commit 521df62

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationHybridWorkerGroupTest.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
using Microsoft.Azure.Commands.Automation.Model;
44
using Microsoft.VisualStudio.TestTools.UnitTesting;
55
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
6+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
67
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
78
using Microsoft.WindowsAzure.Commands.Utilities.Common;
89
using Moq;
910
using System.Collections.Generic;
11+
using Xunit;
1012

1113
namespace Microsoft.Azure.Commands.ResourceManager.Automation.Test.UnitTests
1214
{
@@ -19,7 +21,8 @@ public class GetAzureAutomationHybridWorkerGroupTest : RMTestBase
1921

2022
private GetAzureAutomationHybridWorkerGroup cmdlet;
2123

22-
[TestInitialize]
24+
[Fact]
25+
[Trait(Category.AcceptanceType, Category.CheckIn)]
2326
public void SetupTest()
2427
{
2528
this.mockAutomationClient = new Mock<IAutomationClient>();
@@ -31,7 +34,8 @@ public void SetupTest()
3134
};
3235
}
3336

34-
[TestMethod]
37+
[Fact]
38+
[Trait(Category.AcceptanceType, Category.CheckIn)]
3539
public void GetAzureAutomationHybridWorkerGroupByNameSuccessfull()
3640
{
3741
//Setup
@@ -52,7 +56,8 @@ public void GetAzureAutomationHybridWorkerGroupByNameSuccessfull()
5256
this.mockAutomationClient.Verify(f => f.GetHybridRunbookWorkerGroup(resourceGroupName, accountName, hybridRunbookWorkerGroupName), Times.Once());
5357
}
5458

55-
[TestMethod]
59+
[Fact]
60+
[Trait(Category.AcceptanceType, Category.CheckIn)]
5661
public void GetAzureAutomationHybridWorkerGroupByAllSuccessfull()
5762
{
5863
// Setup

0 commit comments

Comments
 (0)