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

Pedro Amorim <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #176112|0                           |1
        is obsolete|                            |

--- Comment #20 from Pedro Amorim <[email protected]> ---
Created attachment 176333
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176333&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 <[email protected]>
Signed-off-by: Pedro Amorim <[email protected]>

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