Koha-clms/Koha/Patron
Jonathan Druart c110912af3 Bug 21134: Correctly throw the exception in Koha::Patron::Modification->approve
koha_1       |     # Looks like you planned 20 tests but ran 9.
koha_1       |
koha_1       | #   Failed test 'approve tests'
koha_1       | #   at t/db_dependent/Koha/Patron/Modifications.t line
259.
koha_1       | [Something went wrong]# Looks like your test exited with
255 just after 5.
koha_1       | [21:13:47] t/db_dependent/Koha/Patron/Modifications.t
.....................

"Something went wrong" should never been thrown,
Koha::Patron::Modification->approve raises $@, but it's not defined, it
should raise $_ instead

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 6e99cfbca7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit c6133753ed)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-09-21 11:46:26 +02:00
..
Attribute Bug 17755: (followup) Override ->search to allow filtering by branchcode 2017-03-24 18:32:48 +00:00
Password Bug 18570: Send Password Reset Emails immediately 2018-04-23 22:24:03 +00:00
Attribute.pm Bug 17828: return $self to be consistent 2017-03-31 14:36:49 +00:00
Attributes.pm Bug 17792: Introduce Koha::Patron::Attribute(s) 2017-03-24 18:44:02 +00:00
Categories.pm
…
Category.pm Bug 17699: Use limit as end_of_month 2017-08-08 09:22:09 -03:00
Debarments.pm
…
Discharge.pm Bug 21025: Add GetPreparedLetter to Koha::Patron::Discharge 2018-07-30 15:44:28 +02:00
Files.pm
…
HouseboundProfile.pm
…
HouseboundProfiles.pm
…
HouseboundRole.pm
…
HouseboundRoles.pm
…
HouseboundVisit.pm
…
HouseboundVisits.pm
…
Image.pm
…
Images.pm
…
Message.pm
…
Messages.pm
…
Modification.pm Bug 21134: Correctly throw the exception in Koha::Patron::Modification->approve 2018-09-21 11:46:26 +02:00
Modifications.pm Bug 18461: (bug 13757 follow-up) Do not mix decode_json and to_json 2017-04-28 06:24:23 -04:00