@@ -70,7 +70,7 @@ public void UserSettingsFile_Get()
7070 var getOutput = Get ( new ( ) ) ;
7171
7272 Assert . IsNotNull ( getOutput ) ;
73- Assert . AreEqual ( ActionPropertyValuePartial , getOutput . Action ) ;
73+ Assert . IsNull ( getOutput . Action ) ;
7474 AssertSettingsAreEqual ( expected , getOutput . Settings ) ;
7575 }
7676
@@ -90,7 +90,7 @@ public void UserSettingsFile_Set_NoDiff(string action)
9090 var expected = GetCurrentUserSettings ( ) ;
9191
9292 Assert . IsNotNull ( setOutput ) ;
93- Assert . AreEqual ( ActionPropertyValuePartial , setOutput . Action ) ;
93+ Assert . AreEqual ( action , setOutput . Action ) ;
9494 AssertSettingsAreEqual ( expected , setOutput . Settings ) ;
9595 AssertDiffState ( setDiff , [ ] ) ;
9696 }
@@ -114,7 +114,7 @@ public void UserSettingsFile_Set_AddFields(string action)
114114
115115 // Assert that the settings are added
116116 Assert . IsNotNull ( setOutput ) ;
117- Assert . AreEqual ( ActionPropertyValuePartial , setOutput . Action ) ;
117+ Assert . AreEqual ( action , setOutput . Action ) ;
118118 AssertMockProperties ( setOutput . Settings , "mock" ) ;
119119 AssertSettingsAreEqual ( expected , setOutput . Settings ) ;
120120 AssertDiffState ( setDiff , [ SettingsPropertyName ] ) ;
@@ -138,7 +138,7 @@ public void UserSettingsFile_Set_ActionIsPartialByDefault()
138138
139139 // Assert that the settings are added
140140 Assert . IsNotNull ( setOutput ) ;
141- Assert . AreEqual ( ActionPropertyValuePartial , setOutput . Action ) ;
141+ Assert . IsNull ( setOutput . Action ) ;
142142 AssertMockProperties ( setOutput . Settings , "mock" ) ;
143143 AssertSettingsAreEqual ( expected , setOutput . Settings ) ;
144144 AssertDiffState ( setDiff , [ SettingsPropertyName ] ) ;
@@ -168,7 +168,7 @@ public void UserSettingsFile_Set_UpdateFields(string action)
168168
169169 // Assert that the settings are updated
170170 Assert . IsNotNull ( setOutput ) ;
171- Assert . AreEqual ( ActionPropertyValuePartial , setOutput . Action ) ;
171+ Assert . AreEqual ( action , setOutput . Action ) ;
172172 AssertMockProperties ( setOutput . Settings , "mock_new" ) ;
173173 AssertSettingsAreEqual ( expected , setOutput . Settings ) ;
174174 AssertDiffState ( setDiff , [ SettingsPropertyName ] ) ;
@@ -198,7 +198,7 @@ public void UserSettingsFile_Test_InDesiredState(string action)
198198
199199 // Assert that the settings are in desired state
200200 Assert . IsNotNull ( testOutput ) ;
201- Assert . AreEqual ( ActionPropertyValuePartial , testOutput . Action ) ;
201+ Assert . AreEqual ( action , testOutput . Action ) ;
202202 AssertMockProperties ( testOutput . Settings , "mock" ) ;
203203 AssertSettingsAreEqual ( expected , testOutput . Settings ) ;
204204 Assert . IsTrue ( testOutput . InDesiredState ) ;
@@ -229,7 +229,7 @@ public void UserSettingsFile_Test_NotInDesiredState(string action)
229229
230230 // Assert that the settings are not in desired state
231231 Assert . IsNotNull ( testOutput ) ;
232- Assert . AreEqual ( ActionPropertyValuePartial , testOutput . Action ) ;
232+ Assert . AreEqual ( action , testOutput . Action ) ;
233233 AssertMockProperties ( testOutput . Settings , "mock_set" ) ;
234234 AssertSettingsAreEqual ( expected , testOutput . Settings ) ;
235235 Assert . IsFalse ( testOutput . InDesiredState ) ;
@@ -246,7 +246,7 @@ public void UserSettingsFile_Export()
246246 var exportOutput = Export ( new ( ) ) ;
247247
248248 Assert . IsNotNull ( exportOutput ) ;
249- Assert . AreEqual ( ActionPropertyValuePartial , exportOutput . Action ) ;
249+ Assert . IsNull ( exportOutput . Action ) ;
250250 AssertSettingsAreEqual ( expected , exportOutput . Settings ) ;
251251 }
252252
0 commit comments