Lines 292-297
$query =
Link Here
|
292 |
$dbh->do( $query, {}, $borrower_id1, $item_id1, $samplebranch1->{branchcode} ); |
292 |
$dbh->do( $query, {}, $borrower_id1, $item_id1, $samplebranch1->{branchcode} ); |
293 |
|
293 |
|
294 |
t::lib::Mocks::mock_preference( 'CataloguingLog', 1 ); |
294 |
t::lib::Mocks::mock_preference( 'CataloguingLog', 1 ); |
|
|
295 |
t::lib::Mocks::mock_userenv( { branchcode => $samplebranch2->{branchcode} } ); |
296 |
|
295 |
my $log_count_before = $schema->resultset('ActionLog')->search({module => 'CATALOGUING'})->count(); |
297 |
my $log_count_before = $schema->resultset('ActionLog')->search({module => 'CATALOGUING'})->count(); |
296 |
my ($doreturn, $messages, $iteminformation, $borrower) = AddReturn('barcode_1', |
298 |
my ($doreturn, $messages, $iteminformation, $borrower) = AddReturn('barcode_1', |
297 |
$samplebranch2->{branchcode}); |
299 |
$samplebranch2->{branchcode}); |