File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
app/code/Magento/Cms/Test/Unit/Helper/Wysiwyg Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,10 @@ public function testIsUsingStaticUrlsAllowed($allowedValue)
288
288
$ this ->assertEquals ($ allowedValue , $ this ->imagesHelper ->isUsingStaticUrlsAllowed ());
289
289
}
290
290
291
+ /**
292
+ * @param bool $allowedValue
293
+ * SuppressWarnings(PHPMD.UnusedFormalParameter)
294
+ */
291
295
protected function generalSettingsIsUsingStaticUrlsAllowed ($ allowedValue )
292
296
{
293
297
$ storeId = 1 ;
@@ -297,7 +301,7 @@ protected function generalSettingsIsUsingStaticUrlsAllowed($allowedValue)
297
301
$ this ->eventManagerMock ->expects ($ this ->any ())
298
302
->method ('dispatch ' )
299
303
->with ('cms_wysiwyg_images_static_urls_allowed ' , ['result ' => $ checkResult , 'store_id ' => $ storeId ])
300
- ->willReturnCallback (function ($ str , $ arr ) use ($ allowedValue ) {
304
+ ->willReturnCallback (function ($ str , $ arr ) use ($ allowedValue ) {
301
305
$ arr ['result ' ]->isAllowed = $ allowedValue ;
302
306
});
303
307
}
@@ -461,6 +465,10 @@ public function providerGetImageHtmlDeclaration()
461
465
];
462
466
}
463
467
468
+ /**
469
+ * @param string $baseUrl
470
+ * @param bool $isUsingStaticUrls
471
+ */
464
472
protected function generalSettingsGetImageHtmlDeclaration ($ baseUrl , $ isUsingStaticUrls )
465
473
{
466
474
$ storeId = 1 ;
You can’t perform that action at this time.
0 commit comments