From 4a7439b463185f65d93038b23a36f58c843514b6 Mon Sep 17 00:00:00 2001 From: Niyazbek Torekeldi <78027392+Tokesh@users.noreply.github.com> Date: Wed, 18 Dec 2024 22:20:16 +0500 Subject: [PATCH] Added test for `POST /{index}/_mapping` (#745) * adding POST role mapping test Signed-off-by: Tokesh * made code more redundant Signed-off-by: Tokesh * lint fix Signed-off-by: Tokesh --------- Signed-off-by: Tokesh --- tests/default/indices/mapping/index.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/default/indices/mapping/index.yaml b/tests/default/indices/mapping/index.yaml index 4a1fe86de..98c4638db 100644 --- a/tests/default/indices/mapping/index.yaml +++ b/tests/default/indices/mapping/index.yaml @@ -113,7 +113,9 @@ chapters: acknowledged: true - synopsis: Update mapping for an index with setting `dynamic` to `strict`. path: /{index}/_mapping - method: PUT + method: + - POST + - PUT parameters: index: movies allow_no_indices: true @@ -145,4 +147,4 @@ chapters: response: status: 200 payload: - acknowledged: true \ No newline at end of file + acknowledged: true