This repository was archived by the owner on Feb 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 77use Laravel \Passport \Passport ;
88use App \Events \AssetWasCreated ;
99use Illuminate \Support \Facades \Storage ;
10- use Illuminate \Foundation \Testing \DatabaseMigrations ;
10+ use Illuminate \Foundation \Testing \RefreshDatabase ;
1111
1212class UploadImageTest extends TestCase
1313{
1414
15- use DatabaseMigrations ;
15+ use RefreshDatabase ;
1616
1717
1818 function test_it_uploads_an_image_from_direct_file ()
Original file line number Diff line number Diff line change 77use App \Entities \Permission ;
88use Laravel \Passport \Passport ;
99use Spatie \Permission \PermissionRegistrar ;
10- use Illuminate \Foundation \Testing \DatabaseMigrations ;
10+ use Illuminate \Foundation \Testing \RefreshDatabase ;
1111
1212class PermissionsEndpointsTest extends TestCase
1313{
1414
15- use DatabaseMigrations ;
15+ use RefreshDatabase ;
1616
1717
1818 function setUp ()
Original file line number Diff line number Diff line change 77use Laravel \Passport \Passport ;
88use Illuminate \Contracts \Hashing \Hasher ;
99use Spatie \Permission \PermissionRegistrar ;
10- use Illuminate \Foundation \Testing \DatabaseMigrations ;
10+ use Illuminate \Foundation \Testing \RefreshDatabase ;
1111
1212class ProfileEndpointsTest extends TestCase
1313{
1414
15- use DatabaseMigrations ;
15+ use RefreshDatabase ;
1616
1717 function setUp ()
1818 {
Original file line number Diff line number Diff line change 88use App \Entities \Permission ;
99use Laravel \Passport \Passport ;
1010use Spatie \Permission \PermissionRegistrar ;
11- use Illuminate \Foundation \Testing \DatabaseMigrations ;
11+ use Illuminate \Foundation \Testing \RefreshDatabase ;
1212
1313class RolesEndpointsTest extends TestCase
1414{
1515
16- use DatabaseMigrations ;
16+ use RefreshDatabase ;
1717
1818 function setUp ()
1919 {
Original file line number Diff line number Diff line change 22
33namespace Tests \Feature ;
44
5- use App \Entities \Role ;
65use Tests \TestCase ;
6+ use App \Entities \Role ;
77use App \Entities \User ;
88use Laravel \Passport \Passport ;
99use Spatie \Permission \PermissionRegistrar ;
10- use Illuminate \Foundation \Testing \DatabaseMigrations ;
10+ use Illuminate \Foundation \Testing \RefreshDatabase ;
1111
1212class UsersEndpointsTest extends TestCase
1313{
1414
15- use DatabaseMigrations ;
15+ use RefreshDatabase ;
1616
1717 function setUp ()
1818 {
Original file line number Diff line number Diff line change 55use Tests \TestCase ;
66use App \Entities \Role ;
77use App \Entities \Permission ;
8- use Illuminate \Foundation \Testing \DatabaseMigrations ;
8+ use Illuminate \Foundation \Testing \RefreshDatabase ;
99
1010class RoleTest extends TestCase
1111{
1212
13- use DatabaseMigrations ;
13+ use RefreshDatabase ;
1414
1515 function test_it_syncs_permissions_by_object_collection ()
1616 {
Original file line number Diff line number Diff line change 33namespace Tests \Unit \Services \Installation ;
44
55use Tests \TestCase ;
6- use \Illuminate \Foundation \Testing \DatabaseMigrations ;
6+ use \Illuminate \Foundation \Testing \RefreshDatabase ;
77
88class AppInstallationServiceTest extends TestCase
99{
1010
11- use DatabaseMigrations ;
11+ use RefreshDatabase ;
1212
1313 protected function makeService ()
1414 {
Original file line number Diff line number Diff line change 22
33namespace Tests \Unit \Services \Installation ;
44
5- use Illuminate \Validation \ValidationException ;
65use Tests \TestCase ;
7- use Illuminate \Foundation \Testing \DatabaseMigrations ;
6+ use Illuminate \Validation \ValidationException ;
7+ use Illuminate \Foundation \Testing \RefreshDatabase ;
88
99
1010class InstallAppHandlerTest extends TestCase
1111{
1212
13- use DatabaseMigrations ;
13+ use RefreshDatabase ;
1414
1515 function makeHandler ()
1616 {
You can’t perform that action at this time.
0 commit comments