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

--- Comment #3 from Andrew Fuerste-Henry <[email protected]> ---
I left out the part where you actually confirm the fix!

Revised revised test plan:
1: set AutoEmailNewUser = "Send", confirm you have a WELCOME notice defined
2: create a patron attribute, check "Staff interface mandatory"
3: (optional but recommended) set up your test system up to send email via SMTP
following directions linked above
4: use Postman or similar to add a patron successfully -- send all required
borrower fields, an email address, and your required attribute
5: confirm you get a success message in Postman and your patron exists in koha
6: run report "select * from message_queue" and see your patron's WELCOME email
7: if you set up outgoing mail, confirm you received the WELCOME email
8: use Postman or similar to fail to add a patron -- send all required borrower
fields, an email address, and NOT your required attribute
9: confirm you get a failure message about a missing attribute in Postman and
your patron does not exist in Koha
10: run report "select * from message_queue" and see no change
11: if you set up outgoing mail, confirm you have just received a welcome email
for your patron who did NOT successfully register
12: repeat steps 4-6 -- successfully make a patron via API and re-run your
report. note that there are now 2 WELCOME emails in the message_queue and their
message_ids are non-sequential. They skip a number for the notice generated for
your failed patron

13: apply patch, restart services

14: use Postman or similar to fail to add a patron -- send all required
borrower fields, an email address, and NOT your required attribute
15: confirm you get a failure from postman about your missing attribute
16: confirm you didn't get an email and nothign new is in the message_queue
17: use Postman or similar to add a patron successfully -- send all required
borrower fields, an email address, and your required attribute
18: confirm you get a welcome email, you see that welcome email in the
message_queue, and the message_id is sequential from your last successful
patron add

-- 
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