This test ensures that when extended attribute validation fails during patron creation via the API, no welcome email is sent. This validates the fix where extended_attributes() validation was moved before the welcome email is enqueued. Test plan: 1. Apply this patch 2. Run: prove t/db_dependent/api/v1/patrons.t 3. Verify all tests pass, including the new test that confirms no welcome email is sent when extended attribute validation fails Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| v1 | ||