Bug 28772: (QA follow-up) Fix wrong message

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomás Cohen Arazi 2021-09-09 08:53:07 -03:00 committed by Jonathan Druart
parent 6e4f334de9
commit 15f930e101

View file

@ -131,7 +131,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;
};