From 20c0d8fe3c814495d3d1dd9406c770ba57ebfe6a Mon Sep 17 00:00:00 2001 From: lukinovec Date: Wed, 23 Nov 2022 08:06:53 +0100 Subject: [PATCH] Delete duplicate test --- tests/CommandsTest.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/CommandsTest.php b/tests/CommandsTest.php index 724fce52..17139919 100644 --- a/tests/CommandsTest.php +++ b/tests/CommandsTest.php @@ -134,19 +134,6 @@ test('dump command generates dump at the passed path', function() { expect($schemaPath)->toBeFile(); }); -test('tenant dump file gets created at the path specified in the tenancy migration parameters config', function() { - $tenant = Tenant::create(); - $schemaPath = 'tests/Etc/tenant-schema-test.dump'; - - Artisan::call('tenants:migrate'); - - expect($schemaPath)->not()->toBeFile(); - - Artisan::call("tenants:dump --tenant='$tenant->id' --path='$schemaPath'"); - - expect($schemaPath)->toBeFile(); -}); - test('migrate command correctly uses the dump located at the configured schema path by default', function () { config(['tenancy.migration_parameters.--schema-path' => 'tests/Etc/tenant-schema.dump']); $tenant = Tenant::create();