summaryrefslogtreecommitdiffstats
path: root/tests/files/search_fail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/search_fail')
-rw-r--r--tests/files/search_fail/GET_bad_json.txt7
-rw-r--r--tests/files/search_fail/PUT_search.txt8
2 files changed, 15 insertions, 0 deletions
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"
+ }
+ }
+}