https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37598
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #190638|0 |1 is obsolete| | --- Comment #25 from David Nind <[email protected]> --- Created attachment 193607 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193607&action=edit Bug 37598: Tests for t/db_dependent/Letters.t To test: 1. Apply patches and update database, restart services 2. Go to Koha administration -> system preferences, search for EmailFieldPrimary 3. Change EmailFieldPrimary to 'selected addresses' 4. Make a selection in the EmailFieldSelection system preference 5. Notice the new EmailRecipientField system preference, it should be set to "To" by default. 6. Have a patron with different addresses in the email fields, depending on the selection you made in EmailFieldSelection: - primary email - alternate email - secondary email 7. Test the new EmailRecipientField system preference using the Welcome email, found by going to the Patron, clicking More, then choosing "Send Welcome notice" 8. In the command line, go to the database `sudo koha-mysql <instancename>` and look at the message_queue to see who the emails are sent to `select * from message_queue\G`. The to_address will contain all the selected email addresses. 9. In the command line, run `misc/cronjobs/process_message_queue.pl` 10. Confirm that the to_address and cc_address are set appropriately based on EmailRecipientField 12. Repeat steps 7-9, testing with different values of EmailRecipientField. When testing EmailRecipientField with bcc, confirm that the to_address is just the first valid email address. Unfortunately we can't test bcc without actually sending the email. 13. Confirm tests pass t/db_dependent/Letters.t Sponsored-by: Pymble Ladies' College -- 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/
