Bug 21023: Remove warning in t/db_dependent/Circulation/Chargelostitem.t
To test: - Run: $ kshell k$ prove t/db_dependent/Circulation/Chargelostitem.t => FAIL: Warning is displayed - Apply this patch - Run: k$ prove t/db_dependent/Circulation/Chargelostitem.t => SUCCESS: Tests pass! No warning! - Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
1d6760f01a
commit
ce63b26b47
|
|
@ -75,8 +75,8 @@ is( int($accountline->amount), int($itemtype->{processfee}), "The accountline am
|
|||
is( $accountline->itemnumber, $itemnumber1, "The accountline itemnumber should the linked with barcode '0101'" );
|
||||
is( $accountline->note, C4::Context->preference("ProcessingFeeNote"), "The accountline description should be 'test'" );
|
||||
|
||||
my $lost_ao = Koha::Account::Offsets->single( { type => 'Lost Item' } );
|
||||
ok( $lost_ao, 'Account offset of type "Lost Item" created' );
|
||||
my $lost_ao = Koha::Account::Offsets->search( { type => 'Lost Item' } );
|
||||
is( $lost_ao->count, 1, 'Account offset of type "Lost Item" created' );
|
||||
|
||||
my $processing_fee_ao = Koha::Account::Offsets->single( { type => 'Processing Fee' } );
|
||||
ok( $processing_fee_ao, 'Account offset of type "Processing Fee" created' );
|
||||
my $processing_fee_ao = Koha::Account::Offsets->search( { type => 'Processing Fee' } );
|
||||
is( $processing_fee_ao->count, 1, 'Account offset of type "Processing Fee" created' );
|
||||
|
|
|
|||
Loading…
Reference in New Issue