File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed
Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 22
33namespace Makeable \SqlCheck ;
44
5- use ZipArchive ;
65use Makeable \SqlCheck \DbImporter \DbImporterFactory ;
76use Spatie \Backup \BackupDestination \Backup ;
87use Spatie \Backup \BackupDestination \BackupDestination ;
98use Spatie \Backup \Tasks \Monitor \HealthCheck ;
109use Spatie \TemporaryDirectory \TemporaryDirectory ;
1110use Symfony \Component \Finder \Finder ;
11+ use ZipArchive ;
1212
1313class HealthySqlDump extends HealthCheck
1414{
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ public function setUp(): void
1919 'name ' => 'mysite ' ,
2020 'disks ' => ['backup ' ],
2121 'health_checks ' => [
22- HealthySqlDump::class
23- ]
24- ]
22+ HealthySqlDump::class,
23+ ],
24+ ],
2525 ]);
2626 }
2727
Original file line number Diff line number Diff line change 33namespace Makeable \SqlCheck \Tests ;
44
55use Illuminate \Foundation \Bootstrap \LoadEnvironmentVariables ;
6- use Illuminate \Foundation \Testing \DatabaseMigrations ;
7- use Illuminate \Foundation \Testing \RefreshDatabase ;
86use Illuminate \Support \Facades \File ;
9- use Illuminate \Support \Facades \Storage ;
107use Orchestra \Testbench \TestCase as Orchestra ;
11- use Illuminate \Support \Facades \Schema ;
128use Spatie \Backup \BackupServiceProvider ;
139
1410class TestCase extends Orchestra
@@ -25,7 +21,6 @@ protected function getPackageProviders($app)
2521 ];
2622 }
2723
28-
2924 protected function getEnvironmentSetUp ($ app )
3025 {
3126 // make sure, our .env file is loaded
@@ -38,7 +33,7 @@ protected function getEnvironmentSetUp($app)
3833 config ()->set ('database.connections.mysql.database ' , env ('DB_DATABASE ' ));
3934 config ()->set ('filesystems.disks.backup ' , [
4035 'driver ' => 'local ' ,
41- 'root ' => __DIR__ . '/stubs ' ,
36+ 'root ' => __DIR__ . '/stubs ' ,
4237 ]);
4338
4439 parent ::getEnvironmentSetUp ($ app );
You can’t perform that action at this time.
0 commit comments