Bug 28772: Fix auth_authenticate_api_request.t

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomás Cohen Arazi 2021-09-21 13:18:52 -03:00 committed by Jonathan Druart
parent 3929db6bc2
commit 5051bb1e98

View file

@ -64,7 +64,7 @@ subtest 'token-based tests' => sub {
my $formData = {
grant_type => 'client_credentials',
client_id => $api_key->client_id,
client_secret => $api_key->secret
client_secret => $api_key->plain_text_secret
};
$t->post_ok('/api/v1/oauth/token', form => $formData)
->status_is(200)