From 2a1fb1406aef6ae3d1cd870f3d06b86e59bdec31 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 16 Apr 2021 11:22:50 -0400 Subject: [PATCH] Bug 27281: (QA follow-up) Fix typo Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- Koha/Item.pm | 2 +- t/db_dependent/Koha/Item.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 5d1857017c..049b026bc3 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -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 diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t index 60ff9173d2..a894048b1e 100755 --- a/t/db_dependent/Koha/Item.t +++ b/t/db_dependent/Koha/Item.t @@ -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'); -- 2.39.5