From 7db22f74fc9fc27e6797c910d64595dbca168306 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 8 Mar 2016 16:21:17 +0000 Subject: [PATCH] Bug 14694 [QA Followup] - Update Koha::Borrower references to Koha::Patron --- t/db_dependent/DecreaseLoanHighHolds.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/DecreaseLoanHighHolds.t b/t/db_dependent/DecreaseLoanHighHolds.t index e13917a..49a111b 100755 --- a/t/db_dependent/DecreaseLoanHighHolds.t +++ b/t/db_dependent/DecreaseLoanHighHolds.t @@ -19,7 +19,7 @@ use Modern::Perl; use C4::Circulation; use Koha::Database; -use Koha::Borrower; +use Koha::Patron; use Koha::Biblio; use Koha::Item; use Koha::Holds; @@ -51,7 +51,7 @@ is( C4::Context->userenv->{branch}, $library->{branchcode}, 'userenv set' ); my @patrons; for my $i ( 1 .. 20 ) { - my $patron = Koha::Borrower->new( + my $patron = Koha::Patron->new( { cardnumber => $i, firstname => 'Kyle', surname => 'Hall', categorycode => $category->{categorycode}, branchcode => $library->{branchcode} } ) ->store(); push( @patrons, $patron ); -- 2.1.4