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:
parent
6e4f334de9
commit
15f930e101
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue