[Koha-bugs] [Bug 23295] Automatically debar patrons if SMS or email notice fail
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 30 04:43:57 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23295
Aleisha Amohia <aleisha at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aleisha at catalyst.net.nz
Status|Patch doesn't apply |ASSIGNED
Assignee|alexbuckley at catalyst.net.nz |aleisha at catalyst.net.nz
--- Comment #4 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Rebased, however tests fail:
$ prove -v t/db_dependent/Koha/Notices.t
t/db_dependent/Koha/Notices.t ..
1..8
ok 1 - The template should have been added
ok 2 - Find a notice template by pk should return the correct template
ok 3 - Delete should have deleted the template
ok 4 - No failed notices currently exist
not ok 5 - One failed notice currently exists
# Failed test 'One failed notice currently exists'
# at t/db_dependent/Koha/Notices.t line 98.
# got: '0'
# expected: '1'
ok 6 - No failed notices currently existing, now the notice has been marked
pending
not ok 7 - Patron has a restriction placed on them
# Failed test 'Patron has a restriction placed on them'
# at t/db_dependent/Koha/Notices.t line 129.
# got: '0'
# expected: '1'
not ok 8 - No new restriction has been placed on the patron
# Failed test 'No new restriction has been placed on the patron'
# at t/db_dependent/Koha/Notices.t line 150.
# got: '0'
# expected: '1'
# Looks like you failed 3 tests of 8.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/8 subtests
Test Summary Report
-------------------
t/db_dependent/Koha/Notices.t (Wstat: 768 Tests: 8 Failed: 3)
Failed tests: 5, 7-8
Non-zero exit status: 3
Files=1, Tests=8, 1 wallclock secs ( 0.02 usr 0.00 sys + 1.08 cusr 0.11
csys = 1.21 CPU)
Result: FAIL
ASSIGNED
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list