From c848647acf7aa967da4f2b9ec89843f208fb4e24 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 26 Aug 2020 17:51:42 -0700 Subject: more tests --- tests/files/search_fail/GET_bad_json.txt | 7 +++++++ tests/files/search_fail/PUT_search.txt | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/files/search_fail/GET_bad_json.txt create mode 100644 tests/files/search_fail/PUT_search.txt (limited to 'tests/files/search_fail') diff --git a/tests/files/search_fail/GET_bad_json.txt b/tests/files/search_fail/GET_bad_json.txt new file mode 100644 index 0000000..4961988 --- /dev/null +++ b/tests/files/search_fail/GET_bad_json.txt @@ -0,0 +1,7 @@ +GET /some-index/_search +{ + "query": { + "exists": { + "field": "user" + } + } diff --git a/tests/files/search_fail/PUT_search.txt b/tests/files/search_fail/PUT_search.txt new file mode 100644 index 0000000..f512a95 --- /dev/null +++ b/tests/files/search_fail/PUT_search.txt @@ -0,0 +1,8 @@ +PUT /some-index/_search +{ + "query": { + "exists": { + "field": "user" + } + } +} -- cgit v1.2.3