https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40219

--- Comment #7 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 190492
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190492&action=edit
Bug 40219: Add unit test to verify welcome email is not sent on validation
failure

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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to