* @covers SkinTemplate::addToSidebarPlain
*/
public function testExpandMessages() {
- $this->assertSidebar(
+ $this->assertSideBar(
[ 'Title' => [
[
'text' => 'Help',
'wgNoFollowDomainExceptions' => [],
'wgNoFollowNsExceptions' => [],
] );
- $this->assertSidebar(
+ $this->assertSideBar(
[ 'Title' => [
# ** http://www.mediawiki.org/| Home
[
* @covers SkinTemplate::addToSidebarPlain
*/
public function testTrickyPipe() {
- $this->assertSidebar(
+ $this->assertSideBar(
[ 'Title' => [
# The first 2 are skipped
# Doesn't really test the url properly
** http://www.mediawiki.org/| Home';
$bar = [];
- $this->skin->addToSideBarPlain( $bar, $text );
+ $this->skin->addToSidebarPlain( $bar, $text );
return $bar['Title'][0];
}