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:
parent
974caa4304
commit
a494bb1b49
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue