[Koha-bugs] [Bug 24546] New: Club/Hold.t has a wrong call to build_sample_item
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 30 15:37:34 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24546
Bug ID: 24546
Summary: Club/Hold.t has a wrong call to build_sample_item
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Test Suite
Assignee: chris at bigballofwax.co.nz
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
In t/db_dependent/Koha/Club/Hold.t:
my $item1 = $builder->build_sample_item({ branchcode => $library->branchcode
});
my $item2 = $builder->build_sample_item({ branchcode => $library->branchcode
});
build_sample_item takes either "library" or the item's attributes.
branchcode is not part of the item's table, so what those 2 lines are trying to
acchieve is wrong.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list