File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Limenet \LaravelElasticaBridge \Tests ;
4
4
5
- use Elastica \Client ;
6
5
use Elastica \Index ;
7
6
use Limenet \LaravelElasticaBridge \Tests \App \Elasticsearch \CustomerIndex ;
8
7
@@ -21,7 +20,7 @@ public function raw_index()
21
20
{
22
21
$ index = $ this ->customerIndex ->getElasticaIndex ();
23
22
$ this ->assertInstanceOf (Index::class, $ index );
24
- $ this ->assertSame ($ this ->customerIndex ->getName (),$ index ->getName ());
23
+ $ this ->assertSame ($ this ->customerIndex ->getName (), $ index ->getName ());
25
24
}
26
25
27
26
/** @test */
@@ -30,7 +29,7 @@ public function settings()
30
29
$ settings = $ this ->customerIndex ->getCreateArguments ();
31
30
$ mappings = $ this ->customerIndex ->getMapping ();
32
31
$ this ->assertTrue ($ this ->customerIndex ->hasMapping ());
33
- $ this ->assertArrayHasKey ('mappings ' , $ settings );
34
- $ this ->assertSame ($ settings ['mappings ' ],$ mappings );
32
+ $ this ->assertArrayHasKey ('mappings ' , $ settings );
33
+ $ this ->assertSame ($ settings ['mappings ' ], $ mappings );
35
34
}
36
35
}
Original file line number Diff line number Diff line change 5
5
use Illuminate \Database \Eloquent \Factories \Factory ;
6
6
use Illuminate \Foundation \Testing \RefreshDatabase ;
7
7
use Limenet \LaravelElasticaBridge \LaravelElasticaBridgeServiceProvider ;
8
- use Limenet \LaravelElasticaBridge \Tests \App \Elasticsearch \CustomerIndex ;
9
8
use Limenet \LaravelElasticaBridge \Tests \Database \Seeders \DatabaseSeeder ;
10
9
use Orchestra \Testbench \TestCase as Orchestra ;
11
10
use SetupTables ;
You can’t perform that action at this time.
0 commit comments