Bug 27281: (QA follow-up) Fix typo

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Kyle M Hall 2021-04-16 11:22:50 -04:00 committed by Jonathan Druart
parent 7d2da13822
commit 2a1fb1406a
2 changed files with 2 additions and 2 deletions

View File

@ -511,7 +511,7 @@ sub get_transfer {
my $transfer = $item->get_transfers;
Return the list of outstanding transfers (i.e requested but not yet cancelled
or recieved).
or received).
Note: Transfers are retrieved in a Modified FIFO (First In First Out) order
whereby the most recently sent, but not received, transfer will be returned

View File

@ -781,7 +781,7 @@ subtest 'get_transfers' => sub {
$transfer_2->datearrived(\'NOW()')->store;
$transfers = $item->get_transfers();
is($transfers->count, 2, 'Once a transfer is recieved, it no longer appears in the list from ->get_transfers()');
is($transfers->count, 2, 'Once a transfer is received, it no longer appears in the list from ->get_transfers()');
$result_1 = $transfers->next;
$result_2 = $transfers->next;
is( $result_1->branchtransfer_id, $transfer_1->branchtransfer_id, 'Koha::Item->get_transfers returns the other transfers oldest to newest');