[TEST] Don't specify a type unless needed (#62011)

We have a couple of yaml tests that index documents under a 'test' type, while they could omit it. We do want to still test that specifying the type is still allowed in 7.x but we already have specific tests for that, and other tests should use the endpoint that don't require specifying a type.
This commit is contained in:
Luca Cavanna 2020-09-05 09:27:00 +02:00 committed by GitHub
parent bc5eec8205
commit ab8f65a099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -6,7 +6,6 @@ setup:
- do:
index:
index: test_1
type: test
id: 1
body: { foo: foo }
@ -14,7 +13,6 @@ setup:
- do:
index:
index: test_1
type: test
id: 1
body: { foo: bar }

View File

@ -19,14 +19,12 @@ setup:
- do:
index:
index: test_1
type: test
id: 1
body: { foo: bar }
- do:
index:
index: test_2
type: test
id: 1
body: { foo: bar }