From f68a06ff994512c97bf58f80dfeecbf74529f752 Mon Sep 17 00:00:00 2001 From: Brian Murphy Date: Mon, 14 Jul 2014 17:06:23 +0100 Subject: [PATCH] [TEST] Fix test relying on order of json for matching --- rest-api-spec/test/template/10_basic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/test/template/10_basic.yaml b/rest-api-spec/test/template/10_basic.yaml index 248b745aee6..2e65dad6c25 100644 --- a/rest-api-spec/test/template/10_basic.yaml +++ b/rest-api-spec/test/template/10_basic.yaml @@ -10,7 +10,7 @@ - do: indexed_template.get: id: 1 - - match: { template: "{\"query\":{\"match_all\":{}},\"size\":\"{{my_size}}\"}"} + - match: { template: /.*query\S\S\S\Smatch_all.*/ } - do: