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
Merge "Chinese Conversion Table Update 2017-6"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
skins
/
SideBarTest.php
diff --git
a/tests/phpunit/skins/SideBarTest.php
b/tests/phpunit/skins/SideBarTest.php
index
81e2c65
..
dceaf41
100644
(file)
--- a/
tests/phpunit/skins/SideBarTest.php
+++ b/
tests/phpunit/skins/SideBarTest.php
@@
-78,7
+78,7
@@
class SideBarTest extends MediaWikiLangTestCase {
* @covers SkinTemplate::addToSidebarPlain
*/
public function testExpandMessages() {
* @covers SkinTemplate::addToSidebarPlain
*/
public function testExpandMessages() {
- $this->assertSide
b
ar(
+ $this->assertSide
B
ar(
[ 'Title' => [
[
'text' => 'Help',
[ 'Title' => [
[
'text' => 'Help',
@@
-102,7
+102,7
@@
class SideBarTest extends MediaWikiLangTestCase {
'wgNoFollowDomainExceptions' => [],
'wgNoFollowNsExceptions' => [],
] );
'wgNoFollowDomainExceptions' => [],
'wgNoFollowNsExceptions' => [],
] );
- $this->assertSide
b
ar(
+ $this->assertSide
B
ar(
[ 'Title' => [
# ** http://www.mediawiki.org/| Home
[
[ 'Title' => [
# ** http://www.mediawiki.org/| Home
[
@@
-123,12
+123,12
@@
class SideBarTest extends MediaWikiLangTestCase {
}
/**
}
/**
- *
bug 33
321 - Make sure there's a | after transforming.
+ *
T35
321 - Make sure there's a | after transforming.
* @group Database
* @covers SkinTemplate::addToSidebarPlain
*/
public function testTrickyPipe() {
* @group Database
* @covers SkinTemplate::addToSidebarPlain
*/
public function testTrickyPipe() {
- $this->assertSide
b
ar(
+ $this->assertSide
B
ar(
[ 'Title' => [
# The first 2 are skipped
# Doesn't really test the url properly
[ 'Title' => [
# The first 2 are skipped
# Doesn't really test the url properly
@@
-163,7
+163,7
@@
class SideBarTest extends MediaWikiLangTestCase {
** http://www.mediawiki.org/| Home';
$bar = [];
** http://www.mediawiki.org/| Home';
$bar = [];
- $this->skin->addToSide
B
arPlain( $bar, $text );
+ $this->skin->addToSide
b
arPlain( $bar, $text );
return $bar['Title'][0];
}
return $bar['Title'][0];
}
@@
-188,6
+188,7
@@
class SideBarTest extends MediaWikiLangTestCase {
/**
* Test $wgNoFollowLinks in sidebar
/**
* Test $wgNoFollowLinks in sidebar
+ * @covers Skin::addToSidebarPlain
*/
public function testRespectWgnofollowlinks() {
$this->setMwGlobals( 'wgNoFollowLinks', false );
*/
public function testRespectWgnofollowlinks() {
$this->setMwGlobals( 'wgNoFollowLinks', false );
@@
-201,6
+202,7
@@
class SideBarTest extends MediaWikiLangTestCase {
/**
* Test $wgExternaLinkTarget in sidebar
* @dataProvider dataRespectExternallinktarget
/**
* Test $wgExternaLinkTarget in sidebar
* @dataProvider dataRespectExternallinktarget
+ * @covers Skin::addToSidebarPlain
*/
public function testRespectExternallinktarget( $externalLinkTarget ) {
$this->setMwGlobals( 'wgExternalLinkTarget', $externalLinkTarget );
*/
public function testRespectExternallinktarget( $externalLinkTarget ) {
$this->setMwGlobals( 'wgExternalLinkTarget', $externalLinkTarget );