Skip to content

Commit 131759b

Browse files
committed
removed database folder and refreshDatabase in tests
1 parent 52f8df6 commit 131759b

11 files changed

+0
-220
lines changed

database/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

database/factories/UserFactory.php

Lines changed: 0 additions & 44 deletions
This file was deleted.

database/migrations/0001_01_01_000000_create_users_table.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

database/migrations/0001_01_01_000001_create_cache_table.php

Lines changed: 0 additions & 35 deletions
This file was deleted.

database/migrations/0001_01_01_000002_create_jobs_table.php

Lines changed: 0 additions & 57 deletions
This file was deleted.

database/seeders/DatabaseSeeder.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/Feature/AirlineTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
namespace Tests\Feature;
44

5-
use Illuminate\Foundation\Testing\RefreshDatabase;
65
use Tests\TestCase;
76
use App\Models\Airline;
87

98
class AirlineTest extends TestCase
109
{
11-
use RefreshDatabase;
1210

1311
protected $airlineCollection;
1412

tests/Feature/AirportTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
namespace Tests\Feature;
44

5-
use Illuminate\Foundation\Testing\RefreshDatabase;
65
use Tests\TestCase;
76
use App\Models\Airport;
87

98
class AirportTest extends TestCase
109
{
11-
use RefreshDatabase;
12-
1310
protected $airportCollection;
1411

1512
public function setUp(): void

tests/Feature/ExampleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests\Feature;
44

5-
// use Illuminate\Foundation\Testing\RefreshDatabase;
65
use Tests\TestCase;
76

87
class ExampleTest extends TestCase

tests/Feature/HotelTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
namespace Tests\Feature;
44

55
use Tests\TestCase;
6-
use Illuminate\Foundation\Testing\RefreshDatabase;
76

87
class HotelTest extends TestCase
98
{
10-
use RefreshDatabase;
11-
129
protected $hotelCollection;
1310

1411
public function setUp(): void

0 commit comments

Comments
 (0)