HomePhorge

Test invalidateBotPasswords.php

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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

Details

Provenance
Dreamy JazzAuthored on Aug 19 2024, 9:39 AM

Event Timeline

Dreamy Jazz <dreamyjazzwikipedia@gmail.com> committed rMW974c14e2168b: Test invalidateBotPasswords.php (authored by Dreamy Jazz <dreamyjazzwikipedia@gmail.com>).Aug 19 2024, 10:50 AM

Commit No Longer Exists

This commit no longer exists in the repository.