Bug 14694 [QA Followup] - Update Koha::Borrower references to Koha::Patron
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 8 Mar 2016 16:21:17 +0000 (16:21 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 8 Mar 2016 17:45:04 +0000 (17:45 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/DecreaseLoanHighHolds.t

index e13917a..49a111b 100755 (executable)
@@ -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 );