Bug 7243: Be selective when summing up charges for blocking issues
[koha_fer] / t / db_dependent / Koha_borrower_modifications.t
index 6a7c4c4..9849502 100755 (executable)
@@ -63,11 +63,11 @@ ok(
 
 ## Check GetPendingModifications
 my $pending = Koha::Borrower::Modifications->GetPendingModifications();
-ok( $pending->[0]->{'firstname'} eq 'Kyle', 'Test GetPendingModifications()' );
 ok(
-    $pending->[1]->{'firstname'} eq 'Sandy',
+    $pending->[0]->{'firstname'} eq 'Sandy',
     'Test GetPendingModifications() again'
 );
+ok( $pending->[1]->{'firstname'} eq 'Kyle', 'Test GetPendingModifications()' );
 
 ## This should delete the row from the table
 Koha::Borrower::Modifications->DenyModifications('3');