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

(-)a/t/db_dependent/Circulation/Chargelostitem.t (-5 / +4 lines)
Lines 75-82 is( int($accountline->amount), int($itemtype->{processfee}), "The accountline am Link Here
75
is( $accountline->itemnumber, $itemnumber1, "The accountline itemnumber should the linked with barcode '0101'" );
75
is( $accountline->itemnumber, $itemnumber1, "The accountline itemnumber should the linked with barcode '0101'" );
76
is( $accountline->note, C4::Context->preference("ProcessingFeeNote"), "The accountline description should be 'test'" );
76
is( $accountline->note, C4::Context->preference("ProcessingFeeNote"), "The accountline description should be 'test'" );
77
77
78
my $lost_ao = Koha::Account::Offsets->single( { type => 'Lost Item' } );
78
my $lost_ao = Koha::Account::Offsets->search( { type => 'Lost Item' } );
79
ok( $lost_ao, 'Account offset of type "Lost Item" created' );
79
is( $lost_ao->count, 1, 'Account offset of type "Lost Item" created' );
80
80
81
my $processing_fee_ao = Koha::Account::Offsets->single( { type => 'Processing Fee' } );
81
my $processing_fee_ao = Koha::Account::Offsets->search( { type => 'Processing Fee' } );
82
ok( $processing_fee_ao, 'Account offset of type "Processing Fee" created' );
82
is( $processing_fee_ao->count, 1, 'Account offset of type "Processing Fee" created' );
83
- 

Return to bug 21023