wiki.techinc.nl/tests/phpunit/includes/content
Fomafix da02313ae9 ContentHandlerTest: Remove wfGetLangObj and test case from test
Remove the not needed wfGetLangObj( $expected )->getCode().
This just converts the language code to a Language object and back to a
language code.

Remove the test case [ CONTENT_MODEL_JAVASCRIPT, 'javascript' ].
This test case was successful because CONTENT_MODEL_JAVASCRIPT gets
interpreted as title 'javascript' and 'javascript' gets interpreted as
an invalid language code which gets replaced by
wfGetLangObj( 'javascript' )->getCode() to $wgLanguageCode.

Remove the not needed is_string check. All titles are strings.

Change-Id: I77f6c061190f94e1d6d8b3a0662a497ed2e94795
2021-10-30 12:09:38 +00:00
..
Transform Move Content::preloadTransform to ContentHandler 2021-08-17 15:17:34 +00:00
ContentHandlerTest.php ContentHandlerTest: Remove wfGetLangObj and test case from test 2021-10-30 12:09:38 +00:00
ContentModelChangeTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
CssContentHandlerTest.php
CssContentTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
FallbackContentHandlerTest.php Split FallbackContentHandlerTest into separate unit tests 2021-03-30 14:23:00 +00:00
FallbackContentTest.php Hard-deprecate Content::preSaveTransform. 2021-08-25 16:14:59 +03:00
JavaScriptContentHandlerTest.php
JavaScriptContentTest.php Hard-deprecate Content::preloadTransform. 2021-08-23 13:25:42 +03:00
JsonContentTest.php Hard-deprecate Content::preSaveTransform. 2021-08-25 16:14:59 +03:00
MessageContentTest.php Move Content::getParserOutput & AbstractContent::fillParserOutput to ContentHandler 2021-09-29 13:10:51 +03:00
RegistrationContentHandlerFactoryToMediaWikiServicesTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
TextContentTest.php Hard-deprecate Content::preSaveTransform. 2021-08-25 16:14:59 +03:00
WikitextContentHandlerTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
WikitextContentTest.php Hard-deprecate Content::preSaveTransform. 2021-08-25 16:14:59 +03:00
WikitextStructureTest.php WikitextStructureTest: combine single use methods 2021-02-27 00:48:21 +00:00