Bug 29182: (follow-up) Fix ArticleRequests.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
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:
Marcel de Rooy 2021-10-07 09:56:22 +00:00 committed by Jonathan Druart
parent c9285e1072
commit 5eca355cbc
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ my $article_request = Koha::ArticleRequest->new(
itemnumber => $item->itemnumber,
title => $article_request_title,
}
)->store();
)->request();
my $notify_message = Koha::Notice::Messages->search->next;
is( $notify_message->letter_code, "AR_".Koha::ArticleRequest::Status::Requested);