Index: trunk/phase3/tests/phpunit/includes/ArticleTest.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | |
21 | 21 | } |
22 | 22 | |
23 | | - function testImplementsGetMagic() { |
| 23 | + function testImplementsGetMagic() { |
24 | 24 | $this->assertEquals( -1, $this->article->mCounter, "Article __get magic" ); |
25 | 25 | } |
26 | 26 | |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | "Article static functions" ); |
64 | 64 | $this->assertEquals( true, is_callable( "ImagePage::onArticleEdit" ), |
65 | 65 | "Article static functions" ); |
66 | | - $this->assertTrue( 'testing' === 'jenkins' && is_string( CategoryPage::getAutosummary( '', '', 0 ) ), |
| 66 | + $this->assertTrue( is_string( CategoryPage::getAutosummary( '', '', 0 ) ), |
67 | 67 | "Article static functions" ); |
68 | 68 | } |
69 | 69 | |
Index: trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfExpandUrlTest.php |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | $retval[] = array( 'http://example.com', 'http://example.com', $defaultProto, $server, $canServer, $httpsMode, "Testing fully qualified http URLs (no need to expand) (defaultProto: $protoDesc , wgServer: $server, wgCanonicalServer: $canServer, current request protocol: $mode )" ); |
49 | 49 | $retval[] = array( 'https://example.com', 'https://example.com', $defaultProto, $server, $canServer, $httpsMode, "Testing fully qualified https URLs (no need to expand) (defaultProto: $protoDesc , wgServer: $server, wgCanonicalServer: $canServer, current request protocol: $mode )" ); |
50 | 50 | # Would be nice to support this, see fixme on wfExpandUrl() |
51 | | - $retval[] = array( "wiki/FooBar/TestingJenkins", 'wiki/FooBar', $defaultProto, $server, $canServer, $httpsMode, "Test non-expandable relative URLs (defaultProto: $protoDesc , wgServer: $server, wgCanonicalServer: $canServer, current request protocol: $mode )" ); |
| 51 | + $retval[] = array( "wiki/FooBar", 'wiki/FooBar', $defaultProto, $server, $canServer, $httpsMode, "Test non-expandable relative URLs (defaultProto: $protoDesc , wgServer: $server, wgCanonicalServer: $canServer, current request protocol: $mode )" ); |
52 | 52 | |
53 | 53 | // Determine expected protocol |
54 | 54 | $p = $protoDesc . ':'; // default case |
Index: trunk/phase3/tests/parser/parserTests.txt |
— | — | @@ -719,7 +719,7 @@ |
720 | 720 | !! input |
721 | 721 | [//example.com/ Test] |
722 | 722 | !! result |
723 | | -<p><a rel="nofollow" class="external text testingJenkins" href="https://www.mediawiki.org//example.com/">Test</a> |
| 723 | +<p><a rel="nofollow" class="external text" href="https://www.mediawiki.org//example.com/">Test</a> |
724 | 724 | </p> |
725 | 725 | !! end |
726 | 726 | |