[Koha-bugs] [Bug 24657] Fix tests of bug 22284 - Groups of pickup locations for holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 10:14:04 CET 2020


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

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 98884
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98884
Bug 24657: Fix t/db_dependent/Koha/Item.t and t/db_dependent/Holds.t

Review of attachment 98884:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=24657&attachment=98884)
-----------------------------------------------------------------

::: t/db_dependent/Koha/Item.t
@@ +173,5 @@
> +    my $root2 = $builder->build_object( { class => 'Koha::Library::Groups', value => { ft_local_hold_group => 1, branchcode => undef } } );
> +    my $library1 = $builder->build_object( { class => 'Koha::Libraries', value => { pickup_location => 1, branchcode => 'TEST1' } } );
> +    my $library2 = $builder->build_object( { class => 'Koha::Libraries', value => { pickup_location => 1, branchcode => 'TEST2' } } );
> +    my $library3 = $builder->build_object( { class => 'Koha::Libraries', value => { pickup_location => 0, branchcode => 'TEST3' } } );
> +    my $library4 = $builder->build_object( { class => 'Koha::Libraries', value => { pickup_location => 1, branchcode => 'TEST4' } } );

Do you really need to specify a branchcode here?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list