We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6d744 commit b8ef971Copy full SHA for b8ef971
tests/ElasticsearchEngineTest.php
@@ -19,7 +19,7 @@ public function test_update_adds_objects_to_index()
19
'update' => [
20
'_id' => 1,
21
'_index' => 'scouttable',
22
- '_type' => 'doc',
+ '_type' => '_doc',
23
]
24
],
25
[
@@ -42,7 +42,7 @@ public function test_delete_removes_objects_to_index()
42
'delete' => [
43
44
45
46
47
48
@@ -57,7 +57,7 @@ public function test_search_sends_correct_parameters_to_elasticsearch()
57
$client = Mockery::mock('Elasticsearch\Client');
58
$client->shouldReceive('search')->with([
59
'index' => 'scouttable',
60
- 'type' => 'doc',
+ 'type' => '_doc',
61
'body' => [
62
'query' => [
63
'bool' => [
0 commit comments