https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34068 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #174072|0 |1 is obsolete| | --- Comment #15 from David Nind <david@davidnind.com> --- Created attachment 176112 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176112&action=edit Bug 34068: Fix tests Several wrong things in the previous attempt: * as_list returns an array * as_list returns objects, ->{library_id} does not exist * as_list does not returns api object, you need to call ->branchcode to get the id * $pickup_locations defined for both situations was confusing Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.