wiki.techinc.nl/tests/phpunit/includes/GlobalFunctions
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
..
GlobalTest.php Pass phpcs-strict on tests/phpunit/GlobalFunctions/ 2014-04-24 11:47:06 +02:00
GlobalWithDBTest.php @covers for all GlobalFunc tests 2013-10-24 10:00:55 +00:00
README
wfAssembleUrlTest.php @covers for all GlobalFunc tests 2013-10-24 10:00:55 +00:00
wfBaseConvertTest.php Pass phpcs-strict on tests/phpunit/GlobalFunctions/ 2014-04-24 11:47:06 +02:00
wfBaseNameTest.php Pass phpcs-strict on tests/phpunit/GlobalFunctions/ 2014-04-24 11:47:06 +02:00
wfBCP47Test.php @covers for all GlobalFunc tests 2013-10-24 10:00:55 +00:00
wfExpandUrlTest.php Pass phpcs-strict on tests/phpunit/GlobalFunctions/ 2014-04-24 11:47:06 +02:00
wfGetCallerTest.php Pass phpcs-strict on tests/phpunit/GlobalFunctions/ 2014-04-24 11:47:06 +02:00
wfParseUrlTest.php test: Remove MagicVariableTest#testServernameFromDifferentProtocols 2014-06-25 12:08:48 +02:00
wfRemoveDotSegmentsTest.php @covers for all GlobalFunc tests 2013-10-24 10:00:55 +00:00
wfShorthandToIntegerTest.php @covers for all GlobalFunc tests 2013-10-24 10:00:55 +00:00
wfTimestampTest.php Ignore days of random failing tests in wfTimestampTest 2014-06-18 18:36:34 +00:00
wfUrlencodeTest.php Pass phpcs-strict on tests/phpunit/GlobalFunctions/ 2014-04-24 11:47:06 +02:00

This directory hold tests for includes/GlobalFunctions.php file
which is a pile of functions.