mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
If a type or path is missing in the REST test yaml file, it is automatically replaced with _all. This makes it hard to test changes in the api, for example adding the possibility to leave the index blank in addition to _all and * in the uri. closes #4657
18 lines
243 B
YAML
18 lines
243 B
YAML
---
|
|
"Client-side default type":
|
|
|
|
- do:
|
|
index:
|
|
index: test_1
|
|
type: test
|
|
id: 1
|
|
body: { "foo": "bar" }
|
|
|
|
- do:
|
|
exists:
|
|
index: test_1
|
|
type: _all
|
|
id: 1
|
|
|
|
- is_true: ''
|