wiki.techinc.nl/tests/phpunit/includes/parser
Timo Tijhof 0c2a013beb test: Remove MagicVariableTest#testServernameFromDifferentProtocols
This test was causing failures locally when wgServer != localhost
because {{SERVERNAME}} is derived from wgServerName, not wgServer
and the test is only mocking wgServer.

> MagicVariableTest::testServername.. with data set #2 ('//localhost/')
> Magic servername should be <localhost:string>
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -localhost
> +krinkle.dev

This value is no longer derived by the Parser, but is instead
set using wfParserUrl in Setup.php.

Remove this obsolete test and add any missing test cases for
wgParserUrl to its test suite.

Change-Id: I7d7d201cb46841e63dac8ab9fd81b45b252264a3
2014-06-25 12:08:48 +02:00
..
MagicVariableTest.php test: Remove MagicVariableTest#testServernameFromDifferentProtocols 2014-06-25 12:08:48 +02:00
MediaWikiParserTest.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
NewParserTest.php Add support for testing transparent tags 2014-06-20 11:36:08 -04:00
ParserMethodsTest.php Create Parser::stripOuterParagraph to avoid code duplication 2014-05-15 12:20:19 -04:00
ParserOutputTest.php Add ParserOutput::unsetProperty, add tests 2014-06-04 10:02:01 +00:00
ParserPreloadTest.php General cleanup of Parser tests 2013-10-23 12:26:15 +00:00
PreprocessorTest.php Pass phpcs-strict on some test files (9/11) 2014-04-24 13:50:47 -07:00
TagHooksTest.php Pass phpcs-strict on some test files (10/11) 2014-04-24 13:50:56 -07:00
TidyTest.php Make setUp and tearDown protected in tests 2013-11-24 01:48:09 +01:00