diff --git a/t/db_dependent/ArticleRequests.t b/t/db_dependent/ArticleRequests.t index c1e16d9424..f3d5b317c9 100755 --- a/t/db_dependent/ArticleRequests.t +++ b/t/db_dependent/ArticleRequests.t @@ -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);