@@ -164,7 +164,7 @@ public function testCreate()
164
164
$ this ->designConfigData ->expects ($ this ->exactly (2 ))
165
165
->method ('setPath ' )
166
166
->willReturnCallback (function ($ arg1 ) {
167
- if ($ arg1 == 'design/header/default_title ' && $ arg1 == 'design/head/default_description ' ) {
167
+ if ($ arg1 == 'design/header/default_title ' || $ arg1 == 'design/head/default_description ' ) {
168
168
return null ;
169
169
}
170
170
});
@@ -245,14 +245,14 @@ public function testCreateInSingleStoreMode()
245
245
$ this ->designConfigData ->expects ($ this ->exactly (2 ))
246
246
->method ('setPath ' )
247
247
->willReturnCallback (function ($ arg1 ) {
248
- if ($ arg1 == 'design/header/default_title ' && $ arg1 == 'design/head/default_description ' ) {
248
+ if ($ arg1 == 'design/header/default_title ' || $ arg1 == 'design/head/default_description ' ) {
249
249
return null ;
250
250
}
251
251
});
252
252
$ this ->designConfigData ->expects ($ this ->exactly (2 ))
253
253
->method ('setFieldConfig ' )
254
254
->willReturnCallback (function ($ arg1 ) {
255
- if ($ arg1 == 'design/header/default_title ' && $ arg1 == 'design/head/default_description ' ) {
255
+ if ($ arg1 == 'design/header/default_title ' || $ arg1 == 'design/head/default_description ' ) {
256
256
return null ;
257
257
}
258
258
});
@@ -325,14 +325,14 @@ public function testBypassSettingLockedConfig()
325
325
$ this ->designConfigData ->expects ($ this ->exactly (2 ))
326
326
->method ('setPath ' )
327
327
->willReturnCallback (function ($ arg1 ) {
328
- if ($ arg1 == 'design/header/default_title ' && $ arg1 == 'design/head/default_description ' ) {
328
+ if ($ arg1 == 'design/header/default_title ' || $ arg1 == 'design/head/default_description ' ) {
329
329
return null ;
330
330
}
331
331
});
332
332
$ this ->designConfigData ->expects ($ this ->exactly (2 ))
333
333
->method ('setFieldConfig ' )
334
334
->willReturnCallback (function ($ arg1 ) {
335
- if ($ arg1 == 'design/header/default_title ' && $ arg1 == 'design/head/default_description ' ) {
335
+ if ($ arg1 == 'design/header/default_title ' || $ arg1 == 'design/head/default_description ' ) {
336
336
return null ;
337
337
}
338
338
});
0 commit comments