Skip to content

Commit 5955928

Browse files
committed
Also ignore the middleware in the UpdateImportTest
1 parent 96da1ef commit 5955928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Imports/UpdateImportTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Statamic\Facades\Collection;
99
use Statamic\Facades\Taxonomy;
1010
use Statamic\Facades\User;
11+
use Statamic\Http\Middleware\DeleteTemporaryFileUploads;
1112
use Statamic\Importer\Facades\Import;
1213
use Statamic\Importer\Tests\TestCase;
1314
use Statamic\Testing\Concerns\PreventsSavingStacheItemsToDisk;
@@ -22,6 +23,8 @@ protected function setUp(): void
2223
{
2324
parent::setUp();
2425

26+
$this->withoutMiddleware(DeleteTemporaryFileUploads::class);
27+
2528
File::deleteDirectory(storage_path('statamic/importer'));
2629

2730
Storage::disk('local')->deleteDirectory('statamic/imports');

0 commit comments

Comments
 (0)