Skip to content

Commit 471c5d6

Browse files
committed
Disable local disk file serving to fix tests
1 parent aabf755 commit 471c5d6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/Pest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,4 @@
4343
|
4444
*/
4545

46-
function something()
47-
{
48-
// ..
49-
}
46+
//

tests/TestCase.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ protected function getPackageProviders($app)
1919
{
2020
return [ZiggyServiceProvider::class];
2121
}
22+
23+
protected function defineEnvironment($app)
24+
{
25+
$app->config->set('filesystems.disks.local.serve', false);
26+
}
2227
}

0 commit comments

Comments
 (0)