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:
Pedro Amorim 2024-01-02 11:15:39 +00:00 committed by Katrin Fischer
parent 930ad0178d
commit 520c84756a
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -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" );