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:
parent
3929db6bc2
commit
5051bb1e98
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue