X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FOutputPageTest.php;h=d5948edc640be65631318456eb77f5e9e6200938;hb=181dc242ea9c1b492d4e4b25f2f664f5a8fef737;hp=52103f97cc293c6a32b047a70b04493f738fce71;hpb=12601ff7d2796752404bfb331fccc41083d31f9f;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/OutputPageTest.php b/tests/phpunit/includes/OutputPageTest.php index 52103f97cc..d5948edc64 100644 --- a/tests/phpunit/includes/OutputPageTest.php +++ b/tests/phpunit/includes/OutputPageTest.php @@ -640,6 +640,17 @@ class OutputPageTest extends MediaWikiTestCase { 'not all and (min-resolution: 2dppx),' . ';rel=preload;as=image;media=(min-resolution: 2dppx)' ], + [ + [ + 'ResourceBasePath' => '/w', + 'Logo' => '/img/default.png', + 'LogoHD' => [ + 'svg' => '/img/vector.svg', + ], + ], + 'Link: ;rel=preload;as=image' + + ], [ [ 'ResourceBasePath' => '/w', @@ -685,10 +696,6 @@ class NullMessageBlobStore extends MessageBlobStore { return []; } - public function insertMessageBlob( $name, ResourceLoaderModule $module, $lang ) { - return false; - } - public function updateModule( $name, ResourceLoaderModule $module, $lang ) { }