Acceptance criteria:
- All api-testing tests in this patch (T359043: Enable temp account creation in CI and local development environments via DevelopmentSettings.php) pass
Status (22 May 2024):
The work here is a mix of:
- If using an anonymous user and anonymous token, only make one edit per test. That's because subsequent edits would be done as a temp user. (Alternatively, clear the cached token and re-request it.)
- If we are not explicitly testing anonymous editing behavior, consider just using a regular, named user account for the edits
- In some cases, business logic needs to be updated. For example, PageHistoryCountHandler should not include temp account contributions in the getAnonAccount method, to be consistent with other APIs - T365673: PageHistoryCountHandler should be able to show edit counts from temporary accounts.
Business logic changes (like T365673) should be tracked in subtasks. Patches that update core's api-testing tests can tag this task.