From 5221b2c5b3f92d3c1fd745eef7c5edcd961b3171 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 2 May 2016 10:46:59 +0100 Subject: [PATCH] Bug 16407: Simplify comments Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 671f81e877a3e23127a2e8078921760e9b449a27) Signed-off-by: Julian Maurice (cherry picked from commit 4b0c36846117212cff4db09f06f719be5aea308e) Signed-off-by: Chris Cormack --- t/db_dependent/Koha_borrower_modifications.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/Koha_borrower_modifications.t b/t/db_dependent/Koha_borrower_modifications.t index 7e8ab7bcd1..e2ab5f522a 100755 --- a/t/db_dependent/Koha_borrower_modifications.t +++ b/t/db_dependent/Koha_borrower_modifications.t @@ -48,8 +48,7 @@ ok( 'Test that Verify() method fails for a bad token' ); -## Create new pending modification, but for an existing borrower -## But not a hardcoded borrowernumber of course (Bug 16407) +## Create new pending modification for a patron my $builder = t::lib::TestBuilder->new; my $borr1 = $builder->build({ source => 'Borrower' })->{borrowernumber}; Koha::Borrower::Modifications->new( borrowernumber => $borr1 ) @@ -59,7 +58,7 @@ Koha::Borrower::Modifications->new( borrowernumber => $borr1 ) ok( Koha::Borrower::Modifications->GetPendingModificationsCount() == 1, 'Test GetPendingModificationsCount()' ); -## Create new pending modification for another existing borrower +## Create new pending modification for another patron my $borr2 = $builder->build({ source => 'Borrower' })->{borrowernumber}; Koha::Borrower::Modifications->new( borrowernumber => $borr2 ) ->AddModifications( { surname => 'Smith', firstname => 'Sandy' } ); -- 2.39.5