From 2e44b49a2db3026050b136de9b00f749dd3ff939 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 25 Apr 2014 06:26:49 +0200 Subject: Update to MediaWiki 1.22.6 --- tests/phpunit/includes/parser/ParserOutputTest.php | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 tests/phpunit/includes/parser/ParserOutputTest.php (limited to 'tests/phpunit/includes/parser/ParserOutputTest.php') diff --git a/tests/phpunit/includes/parser/ParserOutputTest.php b/tests/phpunit/includes/parser/ParserOutputTest.php deleted file mode 100644 index c73666da..00000000 --- a/tests/phpunit/includes/parser/ParserOutputTest.php +++ /dev/null @@ -1,59 +0,0 @@ -assertEquals( $shouldMatch, ParserOutput::isLinkInternal( $server, $url ) ); - } - - /** - * @covers ParserOutput::setExtensionData - * @covers ParserOutput::getExtensionData - */ - public function testExtensionData() { - $po = new ParserOutput(); - - $po->setExtensionData( "one", "Foo" ); - - $this->assertEquals( "Foo", $po->getExtensionData( "one" ) ); - $this->assertNull( $po->getExtensionData( "spam" ) ); - - $po->setExtensionData( "two", "Bar" ); - $this->assertEquals( "Foo", $po->getExtensionData( "one" ) ); - $this->assertEquals( "Bar", $po->getExtensionData( "two" ) ); - - $po->setExtensionData( "one", null ); - $this->assertNull( $po->getExtensionData( "one" ) ); - $this->assertEquals( "Bar", $po->getExtensionData( "two" ) ); - } -} -- cgit v1.2.3-54-g00ecf