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

(-)a/t/db_dependent/Circulation.t (-5 lines)
Lines 3042-3048 subtest 'AddRenewal and AddIssuingCharge tests' => sub { Link Here
3042
3042
3043
    plan tests => 13;
3043
    plan tests => 13;
3044
3044
3045
    $schema->storage->txn_begin;
3046
3045
3047
    t::lib::Mocks::mock_preference('item-level_itypes', 1);
3046
    t::lib::Mocks::mock_preference('item-level_itypes', 1);
3048
3047
Lines 3129-3142 subtest 'AddRenewal and AddIssuingCharge tests' => sub { Link Here
3129
    is( $line->branchcode,  $library->id, 'AddRenewal correctly sets branchcode' );
3128
    is( $line->branchcode,  $library->id, 'AddRenewal correctly sets branchcode' );
3130
    is( $line->description, "Renewal of Rental Item $title $barcode", 'AddRenewal set a hardcoded description for the accountline' );
3129
    is( $line->description, "Renewal of Rental Item $title $barcode", 'AddRenewal set a hardcoded description for the accountline' );
3131
3130
3132
    $schema->storage->txn_rollback;
3133
};
3131
};
3134
3132
3135
subtest 'ProcessOfflinePayment() tests' => sub {
3133
subtest 'ProcessOfflinePayment() tests' => sub {
3136
3134
3137
    plan tests => 4;
3135
    plan tests => 4;
3138
3136
3139
    $schema->storage->txn_begin;
3140
3137
3141
    my $amount = 123;
3138
    my $amount = 123;
3142
3139
Lines 3153-3159 subtest 'ProcessOfflinePayment() tests' => sub { Link Here
3153
    is( $line->amount+0, $amount * -1, 'amount picked from params' );
3150
    is( $line->amount+0, $amount * -1, 'amount picked from params' );
3154
    is( $line->branchcode, $library->id, 'branchcode set correctly' );
3151
    is( $line->branchcode, $library->id, 'branchcode set correctly' );
3155
3152
3156
    $schema->storage->txn_rollback;
3157
};
3153
};
3158
3154
3159
subtest 'Incremented fee tests' => sub {
3155
subtest 'Incremented fee tests' => sub {
3160
- 

Return to bug 23177