wiki.techinc.nl/tests/phpunit/includes/api/query
daniel c6ca5baa16 phpunit: improve isolation by calling User::clearInstanceCache
User objects may hold references to service objects. They need to be
reset when services are reset between and during tests.

Change-Id: I7fe767977f1fe01d508fddf7a92ade3ec8ba2662
2022-12-04 15:21:30 +01:00
..
ApiQueryAllPagesTest.php tests/api: Add TestUser::getAuthority and use it 2022-08-06 23:15:27 +02:00
ApiQueryAllRevisionsTest.php tests/api: Add TestUser::getAuthority and use it 2022-08-06 23:15:27 +02:00
ApiQueryBasicTest.php tests: Use Title::makeTitle instead of Title::newFromText 2022-09-23 21:53:11 +02:00
ApiQueryBlockInfoTraitTest.php
ApiQueryBlocksTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiQueryContinue2Test.php
ApiQueryContinueTest.php
ApiQueryContinueTestBase.php Use native array_column() in tests instead of loops 2022-08-16 15:41:14 +02:00
ApiQueryDisabledTest.php
ApiQueryImageInfoTest.php phpunit: improve isolation by calling User::clearInstanceCache 2022-12-04 15:21:30 +01:00
ApiQueryInfoTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiQueryLanguageinfoTest.php Implement LanguageConverter for sh.wiki 2022-11-15 06:29:11 +00:00
ApiQueryPrefixSearchTest.php Enable pig-latin variant for testing 2022-11-08 17:45:51 +05:30
ApiQueryRecentChangesIntegrationTest.php tests: Replace deprecated WikiPage::factory 2022-09-02 19:34:02 +00:00
ApiQueryRevisionsTest.php Parser: Fix extractSections() behavior for PHP >= 8.0 2022-11-18 15:23:46 +01:00
ApiQuerySearchTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiQuerySiteinfoTest.php HookContainer: add getHookNames method 2022-11-16 11:54:39 +00:00
ApiQueryTest.php Reorg: Move some of request related classes to MediaWiki/Request 2022-10-28 10:15:31 +00:00
ApiQueryTestBase.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ApiQueryTokensTest.php tests/api: Add TestUser::getAuthority and use it 2022-08-06 23:15:27 +02:00
ApiQueryUserContribsTest.php tests/api: Use MediaWikiIntegrationTestCase::editPage for edits 2022-08-06 22:21:51 +02:00
ApiQueryUserInfoTest.php Add cancreateaccount property to userinfo API 2022-08-31 11:51:18 +00:00
ApiQueryWatchlistIntegrationTest.php tests: Replace deprecated WikiPage::factory 2022-09-02 19:34:02 +00:00
ApiQueryWatchlistRawIntegrationTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00