mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński b68832ace0 Fix parsing of non-English titles in tests
We were calling Title::newFromText() before setupEnv(), which meant
that the title for each test case was parsed using the default rules
for English, rather than the rules for the specified wiki.

This only makes a practical difference for tests with self-links.
Changed the only such test to demonstrate the fix.

Change-Id: I45561f1c9f0d149e2b743f0000b742bf6fc014af
2022-03-18 18:24:07 +00:00
..
unit Improve detecting already signed comments 2022-02-21 21:21:26 +00:00
CommentFormatterTest.php Fix parsing of non-English titles in tests 2022-03-18 18:24:07 +00:00
CommentModifierTest.php Fix parsing of non-English titles in tests 2022-03-18 18:24:07 +00:00
CommentParserTest.php Fix parsing of non-English titles in tests 2022-03-18 18:24:07 +00:00
CommentUtilsTest.php Fix parsing of non-English titles in tests 2022-03-18 18:24:07 +00:00
EventDispatcherTest.php Fix parsing of non-English titles in tests 2022-03-18 18:24:07 +00:00
IntegrationTestCase.php Set $wgUsePigLatinVariant = false while running tests 2021-12-01 23:25:30 +01:00
LanguageDataTest.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
MockCommentFormatter.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
MockEventDispatcher.php Split off ThreadItemSet from CommentParser 2022-02-21 16:22:32 +00:00
MockLanguageData.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
MockSubscriptionStore.php Automatic topic subscriptions (on any edit) 2021-11-15 22:45:42 +01:00
TestUtils.php tests: Fix root node / container handling 2022-03-10 18:43:58 +01:00
ThreadItemTest.php Fix parsing of non-English titles in tests 2022-03-18 18:24:07 +00:00