Skip to content

Commit

Permalink
fix storage path for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorccs committed Jul 19, 2024
1 parent bafa33a commit e324835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tests/Data/Storage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
3 changes: 0 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ protected function getEnvironmentSetUp($app)
$app['config']->set('filesystems.default', 'local');
$app['config']->set('filesystems.disks.local.root', realpath(__DIR__ . '/Data/Storage'));

$app['config']->set('filesystems.disks.samples.driver', 'local');
$app['config']->set('filesystems.disks.samples.root', realpath(__DIR__ . '/Data/Samples'));

$app['config']->set('database.default', 'testing');
$app['config']->set('database.connections.testing', [
'driver' => env('DB_DRIVER', 'sqlite'),
Expand Down

0 comments on commit e324835

Please sign in to comment.