Lines 294-299
$builder->build({
Link Here
|
294 |
}, |
294 |
}, |
295 |
}); |
295 |
}); |
296 |
|
296 |
|
|
|
297 |
# In some dirty DB, the guarantorid is set to a non existent patron id |
298 |
# If we pick it, then the tests will fail |
299 |
# This should not be needed, we should have a FK on the guarantorid instead |
300 |
Koha::Patrons->search({ guarantorid => { -in => [ $borrower1->{borrowernumber}, $borrower2->{borrowernumber} ] }})->update({ guarantorid => undef }); |
301 |
|
297 |
my $owner = AddMember (categorycode => 'STAFFER', branchcode => $library2->{branchcode} ); |
302 |
my $owner = AddMember (categorycode => 'STAFFER', branchcode => $library2->{branchcode} ); |
298 |
my $list1 = AddPatronList( { name => 'Test List 1', owner => $owner } ); |
303 |
my $list1 = AddPatronList( { name => 'Test List 1', owner => $owner } ); |
299 |
my @listpatrons = ($bor1inlist, $bor2inlist); |
304 |
my @listpatrons = ($bor1inlist, $bor2inlist); |
300 |
- |
|
|