X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FOutputPageTest.php;h=c3488343da9bc06e5c010e94fed71791262acc45;hp=52103f97cc293c6a32b047a70b04493f738fce71;hb=0c77841534d9139b0042696fe015a15d3e349ef5;hpb=313dde5d06c42be1eb7da9127ec92bb5d360ddab diff --git a/tests/phpunit/includes/OutputPageTest.php b/tests/phpunit/includes/OutputPageTest.php index 52103f97cc..c3488343da 100644 --- a/tests/phpunit/includes/OutputPageTest.php +++ b/tests/phpunit/includes/OutputPageTest.php @@ -525,7 +525,7 @@ class OutputPageTest extends MediaWikiTestCase { $this->assertTrue( $outputPage->haveCacheVaryCookies() ); } - /* + /** * @covers OutputPage::addCategoryLinks * @covers OutputPage::getCategories */ @@ -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 ) { }