Bug 23463: Fix IsItemIssued.t

It seems that some of those tests could be removed as safe_delete is
widely tested in Koha/Item.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-02-06 14:34:36 +01:00 committed by Martin Renvoize
parent 974caa4304
commit a494bb1b49
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -79,8 +79,8 @@ is ( IsItemIssued( $item->itemnumber ), 0, "item has been returned" );
$item->discard_changes; # FIXME We should not need that
# If we do not, $self->checkout in safe_to_delete will not know the item has been checked out
is(
$item->safe_delete,
1,
ref($item->safe_delete),
'Koha::Item',
'item that is not on loan can be deleted',
);