wiki.techinc.nl/tests/phpunit/includes/api
Ammarpad a944bc6b6b Improve ApiWatchTest
I am splittig this off from a patch that will fix and re-enable
testWatchRollback test which has been broken for over 10 years.

* Remove fake time resetting, this is always done by the base
test class.
* Stop skipping a test because the test page does not exist,
since we can control its existence.
* Use ApiTestCase::setExpectedApiException()
* Make testGetRollbackToken() to return more data to be used by
testWatchRollback()
* Fix some style issues

Change-Id: I7d7d403130e23e5843ea3c3abdc019c9df239f3e
2021-02-02 18:16:18 +01:00
..
format Expose portlet data in SkinMustache 2020-09-22 14:06:29 -07:00
query Remove unneeded @return documentation 2021-01-25 19:44:27 +01:00
Validator Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
ApiBaseTest.php Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
ApiBlockInfoTraitTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiBlockTest.php Fix incomplete/bogus PHPDoc tags in various tests 2021-01-14 19:02:00 +00:00
ApiChangeContentModelTest.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
ApiCheckTokenTest.php Add tests for ApiCheckToken 2018-01-01 02:06:59 +02:00
ApiClearHasMsgTest.php Use new TalkPageNotificationManager 2020-05-15 12:35:45 -04:00
ApiComparePagesTest.php Create diff markers with CSS 2020-12-30 12:52:08 +00:00
ApiContinuationManagerTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiCSPReportTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ApiDeleteTest.php Make User implement Authority 2021-01-19 18:08:12 -06:00
ApiDisabledTest.php Replace setExpectedException with two args 2019-10-05 16:14:05 +00:00
ApiEditPageTest.php Skip undo related phpunit tests when diff3 is missing 2020-12-12 20:22:17 +00:00
ApiErrorFormatterTest.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
ApiLoginTest.php Make unit tests assertion about assertNotEquals more strict 2020-11-01 23:12:06 +00:00
ApiLogoutTest.php Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
ApiMainTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
ApiMessageTest.php Merge "Misc cleanup to api integration tests" 2021-01-21 07:32:08 +00:00
ApiModuleManagerTest.php Use SpecialPageFactory to create special pages in ApiFeedRecentChanges 2020-11-03 18:11:46 +00:00
ApiMoveTest.php Deprecate DatabaseBlock methods moved to DatabaseBlockStore 2020-09-13 22:17:27 +00:00
ApiOpenSearchTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ApiOptionsTest.php Remove incomplete @param from test function 2021-02-01 20:19:22 +01:00
ApiPageSetTest.php ApiPageSet: Avoid infinite loop when merging redirects 2020-10-08 10:00:45 -07:00
ApiParseTest.php Fix incomplete/bogus PHPDoc tags in various tests 2021-01-14 19:02:00 +00:00
ApiProtectTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiPurgeTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
ApiResultTest.php Allow replacing ApiResult value with same value 2021-01-26 15:51:07 +01:00
ApiRevisionDeleteTest.php Deprecate DatabaseBlock methods moved to DatabaseBlockStore 2020-09-13 22:17:27 +00:00
ApiRollbackTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiSetNotificationTimestampIntegrationTest.php Misc cleanup to api integration tests 2021-01-21 06:32:58 +00:00
ApiStashEditTest.php Fix incomplete/bogus PHPDoc tags in various tests 2021-01-14 19:02:00 +00:00
ApiTestCase.php Don't access $wgRequest from User 2020-12-16 12:21:00 +11:00
ApiTestContext.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
ApiTokensTest.php Remove usages of deprecated User::getRights. 2019-08-20 19:43:54 -07:00
ApiUnblockTest.php Deprecate DatabaseBlock methods moved to DatabaseBlockStore 2020-09-13 22:17:27 +00:00
ApiUndeleteTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiUploadTest.php Add watchlist expiry support to applicable APIs 2020-07-13 18:18:15 -04:00
ApiUploadTestCase.php Use MediaWikiServices::getRepoGroup in api related classes 2020-04-11 23:58:00 +00:00
ApiUsageExceptionTest.php Misc cleanup to api integration tests 2021-01-21 06:32:58 +00:00
ApiUserrightsTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
ApiWatchlistTraitTest.php [API] Ignore watchlist preferences for bot users 2020-12-22 22:28:28 +01:00
ApiWatchTest.php Improve ApiWatchTest 2021-02-02 18:16:18 +01:00
generateRandomImages.php Safer autoloading with respect to file-scope code 2021-01-11 11:59:36 +11:00
MockApi.php API: i18n for warnings and errors 2016-12-06 10:20:48 -05:00
MockApiQueryBase.php Replace some oldskool @see with @inheritDoc 2019-11-08 18:00:27 +00:00
RandomImageGenerator.php Update a lot of unspecific "array" types in PHPDocs 2020-10-28 11:01:33 +01:00
words.txt