From 01f69eb8a258cead5f448c70e1efddc87a341299 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Feb 2017 17:13:41 +0000 Subject: [PATCH] Bug 18025: Fix test Signed-off-by: Liz Rea Seems to work fine Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- t/db_dependent/Passwordrecovery.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Passwordrecovery.t b/t/db_dependent/Passwordrecovery.t index 9067e387a4..f8ae6aa70f 100755 --- a/t/db_dependent/Passwordrecovery.t +++ b/t/db_dependent/Passwordrecovery.t @@ -141,7 +141,7 @@ ok( ! defined($bnum3), "[GetValidLinkInfo] Invalid UUID returns no borrowernumbe # Koha::Patron::Password::Recovery::CompletePasswordRecovery # ############################################################## -ok( Koha::Patron::Password::Recovery::CompletePasswordRecovery($uuid1) == 2, "[CompletePasswordRecovery] Completing a password recovery deletes the used entry" ); +is( Koha::Patron::Password::Recovery::CompletePasswordRecovery($uuid1), 3, "[CompletePasswordRecovery] Completing a password recovery deletes the used entry" ); $schema->resultset('BorrowerPasswordRecovery')->create( { -- 2.20.1