View | Details | Raw Unified | Return to bug 24380
Collapse All | Expand All

(-)a/t/db_dependent/Circulation/Returns.t (-2 / +1 lines)
Lines 437-443 subtest 'Backdated returns should reduce fine if needed' => sub { Link Here
437
    my ( $doreturn, $messages, $issue ) = AddReturn($item->barcode, undef, undef, dt_from_string('1999-01-01') );
437
    my ( $doreturn, $messages, $issue ) = AddReturn($item->barcode, undef, undef, dt_from_string('1999-01-01') );
438
438
439
    $fine->discard_changes;
439
    $fine->discard_changes;
440
    is( $fine->amountoutstanding, '0.000000', "Fine was reduced correctly with a backdated return" );
440
    is( $fine->amountoutstanding+0, 0, "Fine was reduced correctly with a backdated return" );
441
};
441
};
442
442
443
$schema->storage->txn_rollback;
443
$schema->storage->txn_rollback;
444
- 

Return to bug 24380