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: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Tomas Cohen Arazi 2021-09-09 08:53:07 -03:00 committed by Kyle M Hall
parent 6c3951d414
commit c699eae8a0
1 changed files with 1 additions and 1 deletions

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;
};