dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add @covers tags to miscellaneous tests
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
OutputPageTest.php
diff --git
a/tests/phpunit/includes/OutputPageTest.php
b/tests/phpunit/includes/OutputPageTest.php
index
52103f9
..
c348834
100644
(file)
--- a/
tests/phpunit/includes/OutputPageTest.php
+++ b/
tests/phpunit/includes/OutputPageTest.php
@@
-525,7
+525,7
@@
class OutputPageTest extends MediaWikiTestCase {
$this->assertTrue( $outputPage->haveCacheVaryCookies() );
}
$this->assertTrue( $outputPage->haveCacheVaryCookies() );
}
- /*
+ /*
*
* @covers OutputPage::addCategoryLinks
* @covers OutputPage::getCategories
*/
* @covers OutputPage::addCategoryLinks
* @covers OutputPage::getCategories
*/
@@
-640,6
+640,17
@@
class OutputPageTest extends MediaWikiTestCase {
'not all and (min-resolution: 2dppx),' .
'</img/two-x.png>;rel=preload;as=image;media=(min-resolution: 2dppx)'
],
'not all and (min-resolution: 2dppx),' .
'</img/two-x.png>;rel=preload;as=image;media=(min-resolution: 2dppx)'
],
+ [
+ [
+ 'ResourceBasePath' => '/w',
+ 'Logo' => '/img/default.png',
+ 'LogoHD' => [
+ 'svg' => '/img/vector.svg',
+ ],
+ ],
+ 'Link: </img/vector.svg>;rel=preload;as=image'
+
+ ],
[
[
'ResourceBasePath' => '/w',
[
[
'ResourceBasePath' => '/w',
@@
-685,10
+696,6
@@
class NullMessageBlobStore extends MessageBlobStore {
return [];
}
return [];
}
- public function insertMessageBlob( $name, ResourceLoaderModule $module, $lang ) {
- return false;
- }
-
public function updateModule( $name, ResourceLoaderModule $module, $lang ) {
}
public function updateModule( $name, ResourceLoaderModule $module, $lang ) {
}