A free open source IT asset/license management system
Fixed importer test
snipee365381484a2
diff --git a/tests/Feature/Livewire/ImporterTest.php b/tests/Feature/Livewire/ImporterTest.phpindex 93914429f0..c2ffe04620 100644--- a/tests/Feature/Livewire/ImporterTest.php+++ b/tests/Feature/Livewire/ImporterTest.php@@ -23,6 +23,8 @@ class ImporterTest extends TestCase*/protected function writeFakeImportFile(Import $import, string $csvBody = "a,b,c\n1,2,3\n"): void{+ Storage::put('private_uploads/imports/'.$import->file_path, $csvBody);+$path = config('app.private_uploads').'/imports/'.$import->file_path;file_put_contents($path, $csvBody);$this->fakeImportPaths[] = $path;