aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/search_fail
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-26 17:51:42 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-26 17:51:42 -0700
commitc848647acf7aa967da4f2b9ec89843f208fb4e24 (patch)
treea3c2d2db16ced1113a5778118a2e90047458087f /tests/files/search_fail
parent837e726d279c0b82418d0bd465657e0ea8de2b15 (diff)
downloades-public-proxy-c848647acf7aa967da4f2b9ec89843f208fb4e24.tar.gz
es-public-proxy-c848647acf7aa967da4f2b9ec89843f208fb4e24.zip
more tests
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"
+ }
+ }
+}