From fb1cfb9dfa7146c625dab744549f7f6646012ca9 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 9 Sep 2021 08:53:07 -0300 Subject: [PATCH] Bug 28772: (QA follow-up) Fix wrong message Signed-off-by: Tomas Cohen Arazi Signed-off-by: Marcel de Rooy Signed-off-by: Wainui Witika-Park (cherry picked from commit fc39e8ee58f72ad6a1b6aedffd9470ddfa82ffa8) Signed-off-by: Victor Grousset/tuxayo --- t/db_dependent/Koha/ApiKey.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/ApiKey.t b/t/db_dependent/Koha/ApiKey.t index a8c348cb20..439ad8718b 100755 --- a/t/db_dependent/Koha/ApiKey.t +++ b/t/db_dependent/Koha/ApiKey.t @@ -123,7 +123,7 @@ subtest 'validate_secret() tests' => sub { my $secret = $api_key->plain_text_secret; ok( $api_key->validate_secret( $secret ), 'Valid secret returns true' ); - ok( !$api_key->validate_secret( 'Wrong secret' ), 'Invalid secret returns true' ); + ok( !$api_key->validate_secret( 'Wrong secret' ), 'Invalid secret returns false' ); $schema->storage->txn_rollback; }; -- 2.39.5