When temporary accounts are enabled the CheckUser extension integration tests fail because the code attempts to create an actor ID for IP addresses (as this is the default user for integration tests in the request context). The code does not fail with this at the moment as the rights checks are done at the interface side and these tests are testing code that is gated after the user rights checks.
Setting the default user to a user with just the checkuser and/or checkuser-log rights should both prevent issues and avoid using a user which doesn't have the rights to get to this code (even though the tests skip the user rights checking part of the code by directly calling the relevant methods for testing).
Acceptance criteria
- Tests for CheckUser when temporary accounts are enabled should pass