whisper-money/tests/Feature/Commands
Víctor Falcón 11f989d03a
fix: keep lead invite command aliases (#406)
## Sentry issue
- https://whisper-money.sentry.io/issues/PHP-LARAVEL-1H

## Root cause
Production invoked old/typoed Artisan command names (`leads:send-invite`
/ `leads:send-invites`) after the command was named
`leads:send-invitations`, causing Symfony CommandNotFoundException
before command logic ran.

## Fix
- Add compatibility aliases for previous invite command names.
- Add regression coverage that both aliases execute successfully.

## Verification
- `vendor/bin/pint --dirty --format agent`
- `php artisan test --compact
tests/Feature/Commands/SendUserLeadInvitationsTest.php`
2026-05-20 12:26:21 +02:00
..
RetryLeadFailedJobsCommandTest.php feat: selective retry of failed lead email jobs (#286) 2026-04-15 08:00:29 +01:00
SendUserLeadInvitationsTest.php fix: keep lead invite command aliases (#406) 2026-05-20 12:26:21 +02:00