Bug 17634: Unit test t/db_dependent/ArticleRequests.t is failing
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 15 Nov 2016 17:37:24 +0000 (17:37 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 15 Nov 2016 17:43:16 +0000 (17:43 +0000)
Test Plan:
1) prove t/db_dependent/ArticleRequests.t
2) Apply this patch
3) prove t/db_dependent/ArticleRequests.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/ArticleRequest.pm

index 217e187..8ca0de8 100644 (file)
@@ -28,6 +28,7 @@ use Koha::Items;
 use Koha::Libraries;
 use Koha::ArticleRequest::Status;
 use Koha::DateUtils qw(dt_from_string);
+use C4::Letters qw(GetPreparedLetter);
 
 use base qw(Koha::Object);