File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 8
8
use Statamic \Facades \Collection ;
9
9
use Statamic \Facades \Taxonomy ;
10
10
use Statamic \Facades \User ;
11
+ use Statamic \Http \Middleware \DeleteTemporaryFileUploads ;
11
12
use Statamic \Importer \Facades \Import ;
12
13
use Statamic \Importer \Tests \TestCase ;
13
14
use Statamic \Testing \Concerns \PreventsSavingStacheItemsToDisk ;
@@ -20,6 +21,8 @@ protected function setUp(): void
20
21
{
21
22
parent ::setUp ();
22
23
24
+ $ this ->withoutMiddleware (DeleteTemporaryFileUploads::class);
25
+
23
26
File::deleteDirectory (storage_path ('statamic/importer ' ));
24
27
Storage::disk ('local ' )->deleteDirectory ('statamic/file-uploads ' );
25
28
}
Original file line number Diff line number Diff line change 8
8
use Statamic \Facades \Collection ;
9
9
use Statamic \Facades \Taxonomy ;
10
10
use Statamic \Facades \User ;
11
+ use Statamic \Http \Middleware \DeleteTemporaryFileUploads ;
11
12
use Statamic \Importer \Facades \Import ;
12
13
use Statamic \Importer \Tests \TestCase ;
13
14
use Statamic \Testing \Concerns \PreventsSavingStacheItemsToDisk ;
@@ -22,6 +23,8 @@ protected function setUp(): void
22
23
{
23
24
parent ::setUp ();
24
25
26
+ $ this ->withoutMiddleware (DeleteTemporaryFileUploads::class);
27
+
25
28
File::deleteDirectory (storage_path ('statamic/importer ' ));
26
29
27
30
Storage::disk ('local ' )->deleteDirectory ('statamic/imports ' );
You can’t perform that action at this time.
0 commit comments