Koha-clms/Koha/Patron
Jonathan Druart 6e99cfbca7 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>
2018-07-31 13:01:00 -03: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-03-19 13:55:37 -03: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 Bug 15407: Koha::Patron::Categories - replace GetborCatFromCatType 2016-09-08 13:29:22 +00:00
Category.pm Bug 17699: Use limit as end_of_month 2017-08-08 09:22:09 -03:00
Debarments.pm Bug 16849: Move IsDebarred to Koha::Patron->is_debarred 2016-07-15 18:08:14 +00:00
Discharge.pm Bug 21025: Add GetPreparedLetter to Koha::Patron::Discharge 2018-07-13 11:57:22 +00:00
Files.pm Bug 16011: $VERSION - Remove empty BEGIN block 2016-03-24 17:20:41 +00:00
HouseboundProfile.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
HouseboundProfiles.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
HouseboundRole.pm Bug 5670: [QA Followup] Create HouseboundRole objects. 2016-10-21 18:18:05 +00:00
HouseboundRoles.pm Bug 5670: [QA Followup] Create HouseboundRole objects. 2016-10-21 18:18:05 +00:00
HouseboundVisit.pm Bug 5670: [Followup] Return Koha::Patron objects. 2016-10-21 18:17:58 +00:00
HouseboundVisits.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
Image.pm Bug 15635: Change method type to _type for bug 15446 2016-03-04 12:54:20 +00:00
Images.pm Bug 15635: Change method type to _type for bug 15446 2016-03-04 12:54:20 +00:00
Message.pm Bug 17558: Fix adding manager id to patron messages in store method 2016-11-12 02:33:14 +00:00
Messages.pm Bug 15632 [QA Followup] - Change method type to _type for bug 15446 2016-03-03 21:22:16 +00:00
Modification.pm Bug 21134: Correctly throw the exception in Koha::Patron::Modification->approve 2018-07-31 13:01:00 -03:00
Modifications.pm Bug 18403: Deal with the DB user 2018-02-12 15:41:42 -03:00