From 3647de7fe09ba41bb733f375376502e9bc1940c0 Mon Sep 17 00:00:00 2001
From: Jorge Moratinos Salcines <jorge.moratinossalcines@telefonica.com>
Date: Mon, 28 Oct 2024 16:16:07 +0100
Subject: [PATCH] update returned data on security test 24 of test suite

---
 doc/testing/testplan/api_security_service/README.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/testing/testplan/api_security_service/README.md b/doc/testing/testplan/api_security_service/README.md
index 7b871cc..9ce8a8f 100644
--- a/doc/testing/testplan/api_security_service/README.md
+++ b/doc/testing/testplan/api_security_service/README.md
@@ -1101,8 +1101,10 @@ At this documentation you will have all information and related files and exampl
   1. Response to Request of Access Token:
      1. **400 Bad Request** response.
      2. body returned must accomplish **AccessTokenErr** data structure, with:
-        * error unsupported_grant_type
-        * error_description=Invalid value for `grant_type` \\(${grant_type}\\), must be one of \\['client_credentials'\\] - 'grant_type'
+        * title=Bad Request
+        * detail='not_valid' is not one of \\['client_credentials', 'authorization_code'\\] - 'grant_type'
+        * status=400
+
 
 ## Test Case 25: Retrieve access token with invalid scope
 
-- 
GitLab