Why:
* The maintenance scripts in core are mostly untested and testing
the less complex scripts will improve the test coverage in core.
What:
* Expand the integration tests in ResetUserEmailTest to cover the
case where a user ID is provided instead of a username in the
script arguments.
Bug: T371167
Change-Id: I6887db8035210dc3a68d23c3aaa2bc0494f8b056
TestUser creates the user and therefore needs the database. Avoid using
it in non-database tests.
Add ApiQueryBlockInfoTraitTest to the Database group because it needs
the database.
Add DeleteUserEmailTest to the Database group because since 3bedffa8
the default user is not created any more in non-database tests
Change-Id: Iff438964dde47a47a2fa4a314d55010bd8c7fee5