From 4d54bb39178f05b3b3b719bf87e8b7e3281eb811 Mon Sep 17 00:00:00 2001 From: David Kyle Date: Mon, 1 Jun 2020 19:22:30 +0100 Subject: [PATCH] Correct expected warning in indices.create yml tests (#57409) v2 index is now composable, v1 is now legacy --- .../test/indices.create/20_mix_typeless_typeful.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/20_mix_typeless_typeful.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/20_mix_typeless_typeful.yml index bd791b9ac1c..9167574ea9a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/20_mix_typeless_typeful.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/20_mix_typeless_typeful.yml @@ -20,7 +20,7 @@ - do: allowed_warnings: - - "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template" + - "index [test-1] matches multiple legacy templates [global, test_template], composable templates will only match a single template" indices.create: index: test-1 body: @@ -60,8 +60,8 @@ - do: allowed_warnings: - - "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template" - indices.create: + - "index [test-1] matches multiple legacy templates [global, test_template], composable templates will only match a single template" + indices.create: include_type_name: true index: test-1 body: @@ -128,7 +128,7 @@ - do: allowed_warnings: - - "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template" + - "index [test-1] matches multiple legacy templates [global, test_template], composable templates will only match a single template" index: index: test-1 body: { bar: 42 }