diff --git a/tests/Foundation/Entries/EntriesTest.php b/tests/Foundation/Entries/EntriesTest.php index 7ca590bb..2fff965f 100644 --- a/tests/Foundation/Entries/EntriesTest.php +++ b/tests/Foundation/Entries/EntriesTest.php @@ -1,7 +1,7 @@ directory(PATH['project'] . '/entries')->create(); + filesystem()->directory(PATH['project'] . '/entries')->create(0755, true); }); afterEach(function (): void { diff --git a/tests/Foundation/Media/MediaFilesMetaTest.php b/tests/Foundation/Media/MediaFilesMetaTest.php index 079b98c8..1f820de5 100644 --- a/tests/Foundation/Media/MediaFilesMetaTest.php +++ b/tests/Foundation/Media/MediaFilesMetaTest.php @@ -3,8 +3,8 @@ declare(strict_types=1); beforeEach(function() { - filesystem()->directory(PATH['project'] . '/uploads')->create(); - filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(); + filesystem()->directory(PATH['project'] . '/uploads')->create(0755, true); + filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(0755, true); }); afterEach(function (): void { diff --git a/tests/Foundation/Media/MediaFilesTest.php b/tests/Foundation/Media/MediaFilesTest.php index 151a971c..13965ee1 100644 --- a/tests/Foundation/Media/MediaFilesTest.php +++ b/tests/Foundation/Media/MediaFilesTest.php @@ -3,8 +3,8 @@ declare(strict_types=1); beforeEach(function() { - filesystem()->directory(PATH['project'] . '/uploads')->create(); - filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(); + filesystem()->directory(PATH['project'] . '/uploads')->create(0755, true); + filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(0755, true); }); afterEach(function (): void { diff --git a/tests/Foundation/Media/MediaFoldersMetaTest.php b/tests/Foundation/Media/MediaFoldersMetaTest.php index bd0c8f95..d37cf861 100644 --- a/tests/Foundation/Media/MediaFoldersMetaTest.php +++ b/tests/Foundation/Media/MediaFoldersMetaTest.php @@ -3,8 +3,8 @@ declare(strict_types=1); beforeEach(function() { - filesystem()->directory(PATH['project'] . '/uploads')->create(); - filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(); + filesystem()->directory(PATH['project'] . '/uploads')->create(0755, true); + filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(0755, true); }); afterEach(function (): void { diff --git a/tests/Foundation/Media/MediaFoldersTest.php b/tests/Foundation/Media/MediaFoldersTest.php index be37fa33..ede7839b 100644 --- a/tests/Foundation/Media/MediaFoldersTest.php +++ b/tests/Foundation/Media/MediaFoldersTest.php @@ -3,8 +3,8 @@ declare(strict_types=1); beforeEach(function() { - filesystem()->directory(PATH['project'] . '/uploads')->create(); - filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(); + filesystem()->directory(PATH['project'] . '/uploads')->create(0755, true); + filesystem()->directory(PATH['project'] . '/uploads/.meta')->create(0755, true); }); afterEach(function (): void { diff --git a/tests/Support/Helpers/FinderTest.php b/tests/Support/Helpers/FinderTest.php index 29909ac3..68c9631d 100644 --- a/tests/Support/Helpers/FinderTest.php +++ b/tests/Support/Helpers/FinderTest.php @@ -5,7 +5,7 @@ declare(strict_types=1); use Symfony\Component\Finder\Finder; beforeEach(function() { - filesystem()->directory(PATH['project'] . '/entries')->create(); + filesystem()->directory(PATH['project'] . '/entries')->create(0755, true); flextype('entries')->create('foo', []); });