wiki.techinc.nl/tests/phpunit/includes
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
..
api Merge "Add tests for API's assert={user|bot}" 2014-06-16 01:33:24 +00:00
cache Moved ProcessCacheLRU to /libs 2014-03-16 16:32:34 -07:00
changes Remove unneeded rc_cur_time key from RCCacheEntryFactoryTest 2014-04-24 19:23:54 +00:00
composer Pass phpcs-strict on some test files (6/11) 2014-04-24 18:26:19 +00:00
config Make abstract Config class truly implementation-agnostic 2014-05-26 02:59:57 -07:00
content Introduce ContentGetParserOutput hook 2014-05-10 14:27:33 +02:00
db Fix: numFields wrong for sqlite 2014-05-21 13:09:13 +00:00
debug Fixed spacing 2013-11-21 18:52:25 +00:00
diff Pass phpcs-strict on some test files (7/11) 2014-04-24 18:27:12 +00:00
exception Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
filebackend Pass phpcs-strict on some test files (7/11) 2014-04-24 18:27:12 +00:00
filerepo Fix misnamed SVGHandler::canAnimateThumb() 2014-06-10 21:15:53 -03:00
GlobalFunctions test: Remove MagicVariableTest#testServernameFromDifferentProtocols 2014-06-25 12:08:48 +02:00
htmlform Pass phpcs-strict on some test files (8/11) 2014-04-24 13:49:48 -07:00
installer Pass phpcs-strict on some test files (7/11) 2014-04-24 18:27:12 +00:00
jobqueue Pass phpcs-strict on some test files (7/11) 2014-04-24 18:27:12 +00:00
json Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
libs Revert "Fix "CSSMin url() value remapping not working in certain obscure cases"" 2014-06-10 22:04:40 +00:00
logging Call Language::getLocalisationCache() static 2014-01-04 21:33:12 +01:00
media Fix misnamed SVGHandler::canAnimateThumb() 2014-06-10 21:15:53 -03:00
normal Pass phpcs-strict on some test files (9/11) 2014-04-24 13:50:47 -07:00
objectcache Pass phpcs-strict on some test files (9/11) 2014-04-24 13:50:47 -07:00
parser test: Remove MagicVariableTest#testServernameFromDifferentProtocols 2014-06-25 12:08:48 +02:00
poolcounter Add global limit to PoolCounter 2014-06-03 19:28:35 +00:00
resourceloader Make ResourceLoaderFileModule#getAllStyleFiles include all skin styles 2014-06-17 19:38:58 +00:00
search Pass phpcs-strict on some test files (10/11) 2014-04-24 13:50:56 -07:00
site Pass phpcs-strict on some test files (10/11) 2014-04-24 13:50:56 -07:00
specials Fix typo in Special:MIMESearch causing minor part to be ignored. 2014-06-21 14:19:42 -03:00
title Pass phpcs-strict on some test files (10/11) 2014-04-24 13:50:56 -07:00
upload Pass phpcs-strict on some test files (10/11) 2014-04-24 13:50:56 -07:00
utils Add HKDF as a fast, random number source 2014-06-09 11:32:26 -07:00
ArrayUtilsTest.php Create and move some functions for class ArrayUtils 2014-01-23 22:13:22 +00:00
ArticleTablesTest.php Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
ArticleTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
BlockTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
CollationTest.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
DiffHistoryBlobTest.php Replace a bunch of extension_loaded() checks with checkPHPExtension() 2014-01-23 23:09:53 +00:00
EditPageTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
ExternalStoreTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
ExtraParserTest.php Pass phpcs-strict on some test files (1/x) 2014-04-24 17:05:32 +02:00
FallbackTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
FauxRequestTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
FauxResponseTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
FormOptionsInitializationTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
FormOptionsTest.php FormOptions: Implement FLOAT type 2013-11-07 23:50:59 +01:00
GitInfoTest.php Support precomputed data in GitInfo 2014-05-05 23:50:12 +00:00
HooksTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
HtmlFormatterTest.php HtmlFormatter: fix check for empty ruleset 2014-05-01 13:54:49 -07:00
HtmlTest.php Pass phpcs-strict on some test files (8/11) 2014-04-24 13:49:48 -07:00
HttpTest.php Pass phpcs-strict on some test files (2/x) 2014-04-24 17:05:34 +02:00
ImportTest.php Correctly parse 'redirect' XML tag during Special:Import. 2014-05-28 16:47:49 +02:00
LanguageConverterTest.php @covers tags for inclues/*Test 2013-10-24 11:54:02 +01:00
LicensesTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
LinkerTest.php Set wgScript in LinkerTest 2014-06-24 09:39:17 +02:00
LinkFilterTest.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
LinksUpdateTest.php Merge "Introducing pp_sortkey." 2014-04-24 21:42:07 +00:00
LocalFileTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
LocalisationCacheTest.php @covers tags for unit tests 2013-10-24 18:22:57 +01:00
MediaWikiVersionFetcherTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
MessageTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
MWFunctionTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
MWNamespaceTest.php Allow moving category pages 2014-05-09 18:12:25 +01:00
MWTimestampTest.php Fixed spacing 2014-03-20 20:37:30 +00:00
OutputPageTest.php @covers tags for more test classes 2013-10-24 20:35:04 +01:00
PathRouterTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
PreferencesTest.php Fixed spacing 2013-12-01 20:58:51 +01:00
RequestContextTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
RevisionStorageTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
RevisionStorageTestContentHandlerUseDB.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
RevisionTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SampleTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SanitizerTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SanitizerValidateEmailTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00
SiteConfigurationTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SkinTemplateTest.php Pass phpcs-strict on some test files (3/x) 2014-04-24 18:51:39 +02:00
SpecialPageTest.php Don't assume test user has ID 1 in SpecialPageTest 2013-12-06 13:48:22 +01:00
StatusTest.php Update list item newline handling to follow Parsoid's model 2014-06-09 11:01:52 -07:00
TemplateCategoriesTest.php Add a RefreshLinks job when a template is deleted 2013-11-06 12:56:53 -05:00
TestUser.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
TimeAdjustTest.php Update Language::userAdjust() $ts parameter hint to be string 2014-06-18 23:00:23 +01:00
TitleArrayFromResultTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
TitleMethodsTest.php Make setUp and tearDown protected in tests 2013-11-24 01:48:09 +01:00
TitlePermissionTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
TitleTest.php Title: Add unit test to assert ":A" is a valid title value 2014-04-28 19:50:32 +02:00
UserArrayFromResultTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
UserMailerTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
UserTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
WebRequestTest.php Speed up CIDR matching from $wgSquidServersNoPurge 2014-05-15 17:23:12 +00:00
WikiPageTest.php (bug 56849) Deprecate dangerous edittime-based content update functions 2014-05-24 05:23:39 +00:00
WikiPageTestContentHandlerUseDB.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
XmlJsTest.php Fixed spacing 2013-11-19 19:03:54 +01:00
XmlSelectTest.php Pass phpcs-strict on some test files (4/x) 2014-04-24 18:51:42 +02:00
XmlTest.php Pass phpcs-strict on some test files (8/11) 2014-04-24 13:49:48 -07:00
XmlTypeCheckTest.php Add more @covers tags and test cleanup 2013-10-22 08:59:42 +00:00