[Koha-bugs] [Bug 17716] Remove itemtype-related t/db_dependent/ CourseReserves.t warnings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 2 19:57:48 CET 2016


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

--- Comment #3 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 57939
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57939
Bug 17716: (followup) Remove dep on existing data and tidy

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

::: t/db_dependent/CourseReserves.t
@@ -36,5 @@
> -# Create the item
> -my $record = MARC::Record->new();
> -$record->append_fields(
> -    MARC::Field->new( '952', '0', '0', a => $library->{branchcode}, b => $library->{branchcode} )
> -);

Wow. That's strange adding an empty item, but then calling AddItem 2 lines
later. Nice catch.

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


More information about the Koha-bugs mailing list