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

--- Comment #33 from Katrin Fischer <[email protected]> ---
Suspecting this is related here:

> prove t/db_dependent/api/v1/holds.t
> t/db_dependent/api/v1/holds.t .. 1/14 No reserves HOLD_CANCELLATION 
> letter transported by email at /kohadevbox/koha/C4/Letters.pm line 610.
> t/db_dependent/api/v1/holds.t .. 12/14     # Looks like you planned 37 tests
> but ran 3.
> t/db_dependent/api/v1/holds.t .. 13/14 
> #   Failed test 'PUT /holds/{hold_id}/pickup_location tests'
> #   at t/db_dependent/api/v1/holds.t line 1470.
> Can't locate object method "branchcode" via package "euRljh" (perhaps 
> you forgot to load "euRljh"?) at t/db_dependent/api/v1/holds.t line 1377.
> # Looks like your test exited with 11 just after 13.
> t/db_dependent/api/v1/holds.t .. Dubious, test returned 11 (wstat 
> 2816,
> 0xb00)
> Failed 2/14 subtests

There is a comment on bug 30661 that might help fix:

(In reply to Johanna Räisä from comment #30)
> I didn't get that HOLD_CANCELLATION error after I pulled main repo. The
> subtest "PUT /holds/{hold_id}/pickup_location tests" fails in holds.t
> 
> There are some interesting branchcode fetching in "PUT
> /holds/{hold_id}/pickup_location tests" at least:
> $hold->discard_changes->branchcode->branchcode 
> If those second branchcode values are removed the tests pass in that subtest.

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