Lines 202-208
subtest "AddReturn logging on statistics table (item-level_itypes=0)" => sub {
Link Here
|
202 |
t::lib::Mocks::mock_preference( "IssueLog", 1 ); |
202 |
t::lib::Mocks::mock_preference( "IssueLog", 1 ); |
203 |
t::lib::Mocks::mock_preference( "ReturnLog", 1 ); |
203 |
t::lib::Mocks::mock_preference( "ReturnLog", 1 ); |
204 |
|
204 |
|
205 |
# Set item-level item types |
205 |
# Set biblio level item types |
206 |
t::lib::Mocks::mock_preference( "item-level_itypes", 0 ); |
206 |
t::lib::Mocks::mock_preference( "item-level_itypes", 0 ); |
207 |
|
207 |
|
208 |
# Create an itemtype for biblio-level item type |
208 |
# Create an itemtype for biblio-level item type |
Lines 234-239
subtest "AddReturn logging on statistics table (item-level_itypes=0)" => sub {
Link Here
|
234 |
source => 'Item', |
234 |
source => 'Item', |
235 |
value => { |
235 |
value => { |
236 |
biblionumber => $biblionumber, |
236 |
biblionumber => $biblionumber, |
|
|
237 |
biblioitemnumber => $biblioitemnumber, |
237 |
homebranch => $branch, |
238 |
homebranch => $branch, |
238 |
holdingbranch => $branch, |
239 |
holdingbranch => $branch, |
239 |
itype => $ilevel_itemtype |
240 |
itype => $ilevel_itemtype |
Lines 243-248
subtest "AddReturn logging on statistics table (item-level_itypes=0)" => sub {
Link Here
|
243 |
source => 'Item', |
244 |
source => 'Item', |
244 |
value => { |
245 |
value => { |
245 |
biblionumber => $biblionumber, |
246 |
biblionumber => $biblionumber, |
|
|
247 |
biblioitemnumber => $biblioitemnumber, |
246 |
homebranch => $branch, |
248 |
homebranch => $branch, |
247 |
holdingbranch => $branch, |
249 |
holdingbranch => $branch, |
248 |
itype => undef |
250 |
itype => undef |
249 |
- |
|
|