aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/other/GET_bare.txt1
-rw-r--r--tests/files/other/GET_doc.txt1
-rw-r--r--tests/files/other/GET_index_bare.txt1
-rw-r--r--tests/files/other/GET_mapping.txt1
-rw-r--r--tests/files/other/GET_source.txt1
-rw-r--r--tests/files/other/HEAD_index_bare.txt1
-rw-r--r--tests/files/other/OPTIONS_index_bare.txt1
-rw-r--r--tests/files/other_fail/DELETE_index.txt1
-rw-r--r--tests/files/search_fail/GET_bad_json.txt7
-rw-r--r--tests/files/search_fail/PUT_search.txt8
10 files changed, 23 insertions, 0 deletions
diff --git a/tests/files/other/GET_bare.txt b/tests/files/other/GET_bare.txt
new file mode 100644
index 0000000..c6ee450
--- /dev/null
+++ b/tests/files/other/GET_bare.txt
@@ -0,0 +1 @@
+GET /
diff --git a/tests/files/other/GET_doc.txt b/tests/files/other/GET_doc.txt
new file mode 100644
index 0000000..504d5a6
--- /dev/null
+++ b/tests/files/other/GET_doc.txt
@@ -0,0 +1 @@
+GET /some-index/_doc/some-key-1234
diff --git a/tests/files/other/GET_index_bare.txt b/tests/files/other/GET_index_bare.txt
new file mode 100644
index 0000000..aa0bd68
--- /dev/null
+++ b/tests/files/other/GET_index_bare.txt
@@ -0,0 +1 @@
+GET /some-index/
diff --git a/tests/files/other/GET_mapping.txt b/tests/files/other/GET_mapping.txt
new file mode 100644
index 0000000..bda02c2
--- /dev/null
+++ b/tests/files/other/GET_mapping.txt
@@ -0,0 +1 @@
+GET /some-index/_mapping
diff --git a/tests/files/other/GET_source.txt b/tests/files/other/GET_source.txt
new file mode 100644
index 0000000..f30b6c1
--- /dev/null
+++ b/tests/files/other/GET_source.txt
@@ -0,0 +1 @@
+GET /some-index/_source/some-key-1234
diff --git a/tests/files/other/HEAD_index_bare.txt b/tests/files/other/HEAD_index_bare.txt
new file mode 100644
index 0000000..6d31c38
--- /dev/null
+++ b/tests/files/other/HEAD_index_bare.txt
@@ -0,0 +1 @@
+HEAD /some-index/
diff --git a/tests/files/other/OPTIONS_index_bare.txt b/tests/files/other/OPTIONS_index_bare.txt
new file mode 100644
index 0000000..4d33a69
--- /dev/null
+++ b/tests/files/other/OPTIONS_index_bare.txt
@@ -0,0 +1 @@
+OPTIONS /some-index/
diff --git a/tests/files/other_fail/DELETE_index.txt b/tests/files/other_fail/DELETE_index.txt
new file mode 100644
index 0000000..d2ff2cd
--- /dev/null
+++ b/tests/files/other_fail/DELETE_index.txt
@@ -0,0 +1 @@
+DELETE /some-index/
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"
+ }
+ }
+}