[Koha-bugs] [Bug 29857] We must stringify our exceptions correctly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 2 08:06:09 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29857
--- Comment #41 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 131232
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131232&action=edit
Bug 29857: (QA follow-up) Fix unit test Object.t
Unit test failling with :
# Failed test 'Exception message correct'
# at /kohadevbox/koha/t/db_dependent/Koha/Object.t line 335.
# got: 'Exception 'Koha::Exception' thrown 'Asked to embed items
but its return value doesn't implement to_api'
# '
# expected: 'Asked to embed items but its return value doesn't
implement to_api'
# Looks like you failed 1 test of 29.
Fixed by using $@->message like in other places.
prove t/db_dependent/Koha/Object.t
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list