File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,6 @@ public function settings()
32
32
33
33
$ this ->assertTrue ($ this ->customerIndex ->hasMapping ());
34
34
$ this ->assertArrayHasKey ('mappings ' , $ settings );
35
- $ this ->assertSame ($ settings ['mappings ' ],$ mappings );
35
+ $ this ->assertSame ($ settings ['mappings ' ], $ mappings );
36
36
}
37
37
}
Original file line number Diff line number Diff line change 4
4
5
5
use Elastica \Document ;
6
6
use Limenet \LaravelElasticaBridge \Index \IndexInterface ;
7
- use Limenet \LaravelElasticaBridge \Model \ElasticsearchableInterface ;
8
7
use Limenet \LaravelElasticaBridge \Tests \App \Elasticsearch \CustomerIndex ;
9
8
use Limenet \LaravelElasticaBridge \Tests \App \Models \Customer ;
10
9
@@ -22,7 +21,7 @@ public function setUp():void
22
21
public function convert_to_elastica_document ()
23
22
{
24
23
Customer::all ()
25
- ->each (function (Customer $ customer ):void {
24
+ ->each (function (Customer $ customer ):void {
26
25
$ document = $ customer ->toElasticaDocument ($ this ->customerIndex );
27
26
$ this ->assertInstanceOf (Document::class, $ document );
28
27
You can’t perform that action at this time.
0 commit comments