From 44c616e4dbe690a2a9d9ee410fae68729f099ed2 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 22 Nov 2022 14:49:26 +0100 Subject: [PATCH] Remove redundant `tenant-schema.dump` unlinking --- tests/CommandsTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/CommandsTest.php b/tests/CommandsTest.php index 8258cb05..724fce52 100644 --- a/tests/CommandsTest.php +++ b/tests/CommandsTest.php @@ -29,10 +29,6 @@ beforeEach(function () { unlink($schemaPath); } - if (file_exists($schemaPath = database_path('tenant-schema.dump'))) { - unlink($schemaPath); - } - Event::listen(TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) { return $event->tenant; })->toListener());