Bug 35100: (follow-up) Tidy
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
edf978668a
commit
3615baf92f
2 changed files with 6 additions and 6 deletions
|
@ -487,11 +487,11 @@ sub TransferCollection {
|
||||||
replace => 1
|
replace => 1
|
||||||
}
|
}
|
||||||
); # Replace transfer
|
); # Replace transfer
|
||||||
# FIXME: If we just replaced a StockRotationAdvance,
|
# FIXME: If we just replaced a StockRotationAdvance,
|
||||||
# it will get enqueued afresh on the next cron run.. but
|
# it will get enqueued afresh on the next cron run.. but
|
||||||
# that will also push the stage on too.. and what about if
|
# that will also push the stage on too.. and what about if
|
||||||
# we were at the first stage.. then there won't be a datearrived
|
# we were at the first stage.. then there won't be a datearrived
|
||||||
# to calculate against. See bug 35100
|
# to calculate against. See bug 35100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elsif ( $_->isa('Koha::Exceptions::Item::Transfer::Limit') ) {
|
elsif ( $_->isa('Koha::Exceptions::Item::Transfer::Limit') ) {
|
||||||
|
|
|
@ -405,7 +405,7 @@ subtest do_checkin => sub {
|
||||||
$ci_transaction->do_checkin( $library->branchcode, undef );
|
$ci_transaction->do_checkin( $library->branchcode, undef );
|
||||||
is( $patron->checkouts->count, 0, 'Checkin should have been done successfully' );
|
is( $patron->checkouts->count, 0, 'Checkin should have been done successfully' );
|
||||||
|
|
||||||
my $result = $ci_transaction->do_checkin( $library2->branchcode, undef );
|
my $result = $ci_transaction->do_checkin( $library2->branchcode, undef );
|
||||||
my $transfer = $item->get_transfer;
|
my $transfer = $item->get_transfer;
|
||||||
is( $ci_transaction->alert_type, '04', "Checkin of item no issued at another branch succeeds" );
|
is( $ci_transaction->alert_type, '04', "Checkin of item no issued at another branch succeeds" );
|
||||||
is_deeply(
|
is_deeply(
|
||||||
|
|
Loading…
Reference in a new issue