Bug 7067 - QA Followup - Fix failing tests
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Dec 2012 18:10:52 +0000 (13:10 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 14 Dec 2012 13:09:01 +0000 (08:09 -0500)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
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');