X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fskins%2FSideBarTest.php;h=ec85bb0326651da3c99dce6efb01e9a982371bdc;hp=dceaf418f17003b45b9512aa23b510f09b8dffd4;hb=074baa39f5e3abd5b5d59ce497f1825658c71f00;hpb=095a2a05b2aaccff26d7b871194a4edccd092707 diff --git a/tests/phpunit/skins/SideBarTest.php b/tests/phpunit/skins/SideBarTest.php index dceaf418f1..ec85bb0326 100644 --- a/tests/phpunit/skins/SideBarTest.php +++ b/tests/phpunit/skins/SideBarTest.php @@ -104,10 +104,10 @@ class SideBarTest extends MediaWikiLangTestCase { ] ); $this->assertSideBar( [ 'Title' => [ - # ** http://www.mediawiki.org/| Home + # ** https://www.mediawiki.org/| Home [ 'text' => 'Home', - 'href' => 'http://www.mediawiki.org/', + 'href' => 'https://www.mediawiki.org/', 'id' => 'n-Home', 'active' => null, 'rel' => 'nofollow', @@ -116,7 +116,7 @@ class SideBarTest extends MediaWikiLangTestCase { # ... skipped since it is missing a pipe with a description ] ], '* Title -** http://www.mediawiki.org/| Home +** https://www.mediawiki.org/| Home ** http://valid.no.desc.org/ ' ); @@ -160,7 +160,7 @@ class SideBarTest extends MediaWikiLangTestCase { private function getAttribs() { # Sidebar text we will use everytime $text = '* Title -** http://www.mediawiki.org/| Home'; +** https://www.mediawiki.org/| Home'; $bar = []; $this->skin->addToSidebarPlain( $bar, $text );