Bug 35587: (QA follow-up): QA script tidy
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
930ad0178d
commit
520c84756a
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ subtest 'BlockReturnOfLostItems' => sub {
|
|||
my ( $doreturn, $messages, $issue ) = AddReturn($item->barcode);
|
||||
is( $doreturn, 0, "With BlockReturnOfLostItems, a checkin of a lost item should be blocked");
|
||||
is( $messages->{WasLost}, 1, "... and the WasLost flag should be set");
|
||||
is( $messages->{NeedsTransfer}, undef, "... and no transfer should be triggered");
|
||||
is( $messages->{NeedsTransfer}, undef, "... and no transfer should be triggered" );
|
||||
|
||||
$item->discard_changes;
|
||||
is( $item->itemlost, 1, "Item remains lost" );
|
||||
|
|
Loading…
Reference in a new issue