Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit e6949a0

Browse files
committed
- Fixed the match_all query test
- Added the tutorial link to the README file
1 parent c852f0a commit e6949a0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Check out its [features](#features)!
88

99
## Contents
1010

11+
* [Tutorial](#tutorial)
1112
* [Features](#features)
1213
* [Requirements](#requirements)
1314
* [Installation](#installation)
@@ -19,6 +20,11 @@ Check out its [features](#features)!
1920
* [Search rules](#search-rules)
2021
* [Available filters](#available-filters)
2122

23+
## Tutorial
24+
25+
For your convenience I wrote step-by-step tutorial - [How to make Laravel and Elasticsearch become friends](https://medium.com/@babenko.i.a/how-to-make-laravel-and-elasticsearch-become-friends-55ed7690331c).
26+
There are information about Elasticsearch installation and the package usage examples, don't miss it!
27+
2228
## Features
2329

2430
* An easy way to [configure](#index-configurator) and [create](#console-commands) an Elasticsearch index.

tests/ElasticEngineTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,7 @@ public function test_if_the_search_method_with_an_asterisk_builds_correct_payloa
583583
'query' => [
584584
'bool' => [
585585
'must' => [
586-
'match_all' => [
587-
588-
]
586+
'match_all' => new \stdClass()
589587
]
590588
]
591589
]

0 commit comments

Comments
 (0)