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

--- Comment #2 from Martin Renvoize <[email protected]> ---
Test plan, 

1) Create a report to list all failed notices

   SELECT borrowernumber, letter_code, message_transport_type, status,
failure_code, time_queued, updated_on, to_address
FROM message_queue
WHERE date(time_queued) BETWEEN <<Sent BETWEEN (yyyy-mm-dd)|date>> AND <<and
(yyyy-mm-dd)|date>> 
ORDER BY time_queued DESC

2) Add an SMS template for the CHECKIN notice
3) Set a patron to use SMS as their preferred notice transport
4) Ensure the patron does not have smsalertnumber set (but does have another
phone number field populated)
5) Trigger the notice
6) Send notices using process_message_queue.pl
7) Confirm you get a failure and that the to_address is populated with a number
that's not in the smsalertnumber
8) Apply the patch
9) Repeat and confirm the to_address is no longer populated
10) Confirm that _send_message_by_sms only ever refers to smsalertnumber

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