View | Details | Raw Unified | Return to bug 16452
Collapse All | Expand All

(-)a/t/db_dependent/PatronLists.t (-1 / +3 lines)
Lines 9-14 BEGIN { Link Here
9
    use_ok('Koha::List::Patron');
9
    use_ok('Koha::List::Patron');
10
}
10
}
11
11
12
C4::Context->_new_userenv('DUMMY SESSION');
13
C4::Context->set_userenv(0,0,0,'firstname','surname', 'BRANCH1', 'Library 1', 0, ', ');
14
12
my $dbh = C4::Context->dbh;
15
my $dbh = C4::Context->dbh;
13
my $sth = $dbh->prepare("SELECT * FROM borrowers ORDER BY RAND() LIMIT 10");
16
my $sth = $dbh->prepare("SELECT * FROM borrowers ORDER BY RAND() LIMIT 10");
14
$sth->execute();
17
$sth->execute();
15
- 

Return to bug 16452