@@ -25,17 +25,17 @@ public void TestGetService()
25
25
{
26
26
//when service name is passed as argument in the cmdlet
27
27
getAzureVmDscExtensionStatusCmdlet . GetService ( ServiceName , null ) ;
28
- Assert . Equal ( ServiceName , getAzureVmDscExtensionStatusCmdlet . Service ) ;
28
+ Assert . Equal ( ServiceName , getAzureVmDscExtensionStatusCmdlet . ServiceName ) ;
29
29
30
30
//when vm object is passed as argument in the cmdlet
31
31
getAzureVmDscExtensionStatusCmdlet . GetService ( "" , GetAzureVM ( ServiceName , ServiceName ) ) ;
32
- Assert . Equal ( ServiceName , getAzureVmDscExtensionStatusCmdlet . Service ) ;
32
+ Assert . Equal ( ServiceName , getAzureVmDscExtensionStatusCmdlet . ServiceName ) ;
33
33
}
34
34
35
35
[ Fact ]
36
36
public void TestGetVirtualMachineDscStatusContextListWithServiceName ( )
37
37
{
38
- getAzureVmDscExtensionStatusCmdlet . Service = ServiceName ;
38
+ getAzureVmDscExtensionStatusCmdlet . ServiceName = ServiceName ;
39
39
40
40
// service has multiple vm's
41
41
var roles = new List < NSM . Role > { CreateRole ( "dscmachine01" ) , CreateRole ( "dscmachine02" ) } ;
@@ -59,7 +59,7 @@ public void TestGetVirtualMachineDscStatusContextListWithServiceName()
59
59
[ Fact ]
60
60
public void TestGetVirtualMachineDscStatusContextListWithServiceNameAndVmName ( )
61
61
{
62
- getAzureVmDscExtensionStatusCmdlet . Service = ServiceName ;
62
+ getAzureVmDscExtensionStatusCmdlet . ServiceName = ServiceName ;
63
63
getAzureVmDscExtensionStatusCmdlet . Name = "dscmachine01" ;
64
64
65
65
// service has multiple vm's
@@ -84,7 +84,7 @@ public void TestGetVirtualMachineDscStatusContextListWithServiceNameAndVmName()
84
84
[ Fact ]
85
85
public void TestGetVirtualMachineDscStatusContextListWithServiceNameAndIncorrectVmName ( )
86
86
{
87
- getAzureVmDscExtensionStatusCmdlet . Service = ServiceName ;
87
+ getAzureVmDscExtensionStatusCmdlet . ServiceName = ServiceName ;
88
88
getAzureVmDscExtensionStatusCmdlet . Name = "some-blah" ;
89
89
90
90
// service has multiple vm's
@@ -108,7 +108,7 @@ public void TestGetVirtualMachineDscStatusContextListWithServiceNameAndIncorrect
108
108
[ Fact ]
109
109
public void TestGetVirtualMachineDscStatusContextListWithVm ( )
110
110
{
111
- getAzureVmDscExtensionStatusCmdlet . Service = ServiceName ;
111
+ getAzureVmDscExtensionStatusCmdlet . ServiceName = ServiceName ;
112
112
getAzureVmDscExtensionStatusCmdlet . VmName = "dscmachine02" ;
113
113
114
114
// service has multiple vm's
@@ -127,7 +127,7 @@ public void TestGetVirtualMachineDscStatusContextListWithVm()
127
127
[ Fact ]
128
128
public void TestCreateDscStatusContext ( )
129
129
{
130
- getAzureVmDscExtensionStatusCmdlet . Service = ServiceName ;
130
+ getAzureVmDscExtensionStatusCmdlet . ServiceName = ServiceName ;
131
131
132
132
var roles = new List < NSM . Role > { CreateRole ( "dscmachine02" ) } ;
133
133
var roleInstances = new List < NSM . RoleInstance > { CreateRoleInstance ( "dscmachine02" ) } ;
0 commit comments