[Koha-bugs] [Bug 12623] SQLHelper replacement - Koha::Borrower::Modifications
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 7 14:35:18 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12623
--- Comment #5 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
This part depends on the order of surnames in the borrowers table:
## Check GetPendingModifications
my $pending = Koha::Borrower::Modifications->GetPendingModifications();
print "ZZZ".$pending->[0]->{firstname}."\n";
ok(
$pending->[0]->{'firstname'} eq 'Sandy',
'Test GetPendingModifications() again'
);
ok( $pending->[1]->{'firstname'} eq 'Kyle', 'Test GetPendingModifications()' );
$pending is sorted by surname, firstname
My borrower 2 and 3 apparently had the order of surnames just in reverse as you
had them while testing.
Please make your test independent of this circumstance..
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list