@@ -123,7 +123,13 @@ public function testProcess()
123
123
124
124
$ this ->assertSame (
125
125
'Value was saved. ' ,
126
- $ this ->model ->processWithLockTarget ('test/test/test ' , 'test ' , ScopeConfigInterface::SCOPE_TYPE_DEFAULT , null , false )
126
+ $ this ->model ->processWithLockTarget (
127
+ 'test/test/test ' ,
128
+ 'test ' ,
129
+ ScopeConfigInterface::SCOPE_TYPE_DEFAULT ,
130
+ null ,
131
+ false
132
+ )
127
133
);
128
134
}
129
135
@@ -139,7 +145,13 @@ public function testProcessWithValidatorException(LocalizedException $exception)
139
145
->method ('isValid ' )
140
146
->willThrowException ($ exception );
141
147
142
- $ this ->model ->processWithLockTarget ('test/test/test ' , 'test ' , ScopeConfigInterface::SCOPE_TYPE_DEFAULT , null , false );
148
+ $ this ->model ->processWithLockTarget (
149
+ 'test/test/test ' ,
150
+ 'test ' ,
151
+ ScopeConfigInterface::SCOPE_TYPE_DEFAULT ,
152
+ null ,
153
+ false
154
+ );
143
155
}
144
156
145
157
/**
@@ -174,7 +186,13 @@ public function testProcessWithConfigurationMismatchException()
174
186
$ this ->configMock ->expects ($ this ->never ())
175
187
->method ('clean ' );
176
188
177
- $ this ->model ->processWithLockTarget ('test/test/test ' , 'test ' , ScopeConfigInterface::SCOPE_TYPE_DEFAULT , null , false );
189
+ $ this ->model ->processWithLockTarget (
190
+ 'test/test/test ' ,
191
+ 'test ' ,
192
+ ScopeConfigInterface::SCOPE_TYPE_DEFAULT ,
193
+ null ,
194
+ false
195
+ );
178
196
}
179
197
180
198
/**
@@ -200,7 +218,13 @@ public function testProcessWithCouldNotSaveException()
200
218
$ this ->configMock ->expects ($ this ->never ())
201
219
->method ('clean ' );
202
220
203
- $ this ->model ->processWithLockTarget ('test/test/test ' , 'test ' , ScopeConfigInterface::SCOPE_TYPE_DEFAULT , null , false );
221
+ $ this ->model ->processWithLockTarget (
222
+ 'test/test/test ' ,
223
+ 'test ' ,
224
+ ScopeConfigInterface::SCOPE_TYPE_DEFAULT ,
225
+ null ,
226
+ false
227
+ );
204
228
}
205
229
206
230
public function testExecuteLockEnv ()
@@ -220,7 +244,13 @@ public function testExecuteLockEnv()
220
244
221
245
$ this ->assertSame (
222
246
'Value was saved in app/etc/env.php and locked. ' ,
223
- $ this ->model ->processWithLockTarget ('test/test/test ' , 'test ' , ScopeConfigInterface::SCOPE_TYPE_DEFAULT , null , true )
247
+ $ this ->model ->processWithLockTarget (
248
+ 'test/test/test ' ,
249
+ 'test ' ,
250
+ ScopeConfigInterface::SCOPE_TYPE_DEFAULT ,
251
+ null ,
252
+ true
253
+ )
224
254
);
225
255
}
226
256
0 commit comments