Bug 14694 [QA Followup] - Update Koha::Borrower references to Koha::Patron

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2016-03-08 16:21:17 +00:00
parent f300914147
commit 63c96788a9

View file

@ -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 );