Test invalidateBotPasswords.php
Why:
- Maintenance scripts in core are mostly untested and testing them will help to avoid regressions.
What:
- Create InvalidateBotPasswordsTest that fully tests the associated maintenance script by mocking the BotPasswordStore service to either expect or not expect calls.
- Doing this is preferrable as the BotPasswordStore service should be separately tested, instead of being indirectly tested via a maintenance script.
Bug: T371167
Change-Id: Id2391afc57457ba1a83d43f6c118db338ca3334c