File tree Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Limenet \LaravelElasticaBridge \Tests \Feature ;
4
4
5
- use Illuminate \Database \Eloquent \Factories \Factory ;
6
- use Limenet \LaravelElasticaBridge \LaravelElasticaBridgeServiceProvider ;
7
- use Limenet \LaravelElasticaBridge \Repository \IndexRepository ;
8
5
use Limenet \LaravelElasticaBridge \Tests \App \Elasticsearch \CustomerIndex ;
9
- use Limenet \LaravelElasticaBridge \Tests \App \Elasticsearch \ProductIndex ;
10
- use Limenet \LaravelElasticaBridge \Tests \Database \Seeders \DatabaseSeeder ;
11
- use Orchestra \Testbench \TestCase as Orchestra ;
12
- use SetupTables ;
13
6
14
7
class FeatureTest extends TestCase
15
8
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace Limenet \LaravelElasticaBridge \Tests \Feature ;
4
4
5
- use Illuminate \Database \Eloquent \Factories \Factory ;
6
- use Limenet \LaravelElasticaBridge \LaravelElasticaBridgeServiceProvider ;
7
5
use Limenet \LaravelElasticaBridge \Repository \IndexRepository ;
8
6
use Limenet \LaravelElasticaBridge \Tests \App \Elasticsearch \CustomerIndex ;
9
7
use Limenet \LaravelElasticaBridge \Tests \App \Elasticsearch \ProductIndex ;
10
- use Limenet \LaravelElasticaBridge \Tests \Database \Seeders \DatabaseSeeder ;
11
8
use Orchestra \Testbench \TestCase as Orchestra ;
12
- use SetupTables ;
13
9
14
10
class TestCase extends Orchestra
15
11
{
@@ -23,8 +19,8 @@ public function setUp(): void
23
19
$ this ->customerIndex = $ this ->app ->make (CustomerIndex::class);
24
20
$ this ->productIndex = $ this ->app ->make (ProductIndex::class);
25
21
$ this ->indexRepository = new IndexRepository ([
26
- $ this ->customerIndex ::class=> $ this ->customerIndex ,
27
- $ this ->productIndex ::class=> $ this ->productIndex ,
22
+ $ this ->customerIndex ::class => $ this ->customerIndex ,
23
+ $ this ->productIndex ::class => $ this ->productIndex ,
28
24
]);
29
25
}
30
26
}
Original file line number Diff line number Diff line change 3
3
namespace Limenet \LaravelElasticaBridge \Tests \Database \Factories ;
4
4
5
5
use Illuminate \Database \Eloquent \Factories \Factory ;
6
- use Limenet \LaravelElasticaBridge \Tests \App \Models \Customer ;
7
6
use Limenet \LaravelElasticaBridge \Tests \App \Models \Product ;
8
7
9
8
class ProductFactory extends Factory
You can’t perform that action at this time.
0 commit comments