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

(-)a/t/db_dependent/Overdues.t (-5 / +2 lines)
Lines 549-558 subtest 'UpdateFine tests' => sub { Link Here
549
        { order_by       => { '-asc' => 'accountlines_id' } }
549
        { order_by       => { '-asc' => 'accountlines_id' } }
550
    );
550
    );
551
    is( $fines->count, 4, "New amount should be 0 so no fine added" );
551
    is( $fines->count, 4, "New amount should be 0 so no fine added" );
552
    ok(
552
    my @r = C4::Circulation::AddReturn( $item_1->barcode, $item_1->homebranch, 1 );
553
        C4::Circulation::AddReturn( $item_1->barcode, $item_1->homebranch, 1 ),
553
    is( $r[1]->{WasReturned}, 1, "Returning the item and forgiving fines succeeds" );
554
        "Returning the item and forgiving fines succeeds"
555
    );
556
554
557
    t::lib::Mocks::mock_preference( 'MaxFine', 0 );
555
    t::lib::Mocks::mock_preference( 'MaxFine', 0 );
558
556
559
- 

Return to bug 40409