From ddc860f98d46e1c3257ec1a9e590f14e8f7b1f16 Mon Sep 17 00:00:00 2001 From: Jasper Tey Date: Mon, 2 Sep 2024 18:45:24 -0400 Subject: [PATCH] Attempt isolating single test. --- tests/Command/InstallTest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Command/InstallTest.php b/tests/Command/InstallTest.php index bd4754c..c6db2cc 100644 --- a/tests/Command/InstallTest.php +++ b/tests/Command/InstallTest.php @@ -2,7 +2,9 @@ use Illuminate\Support\Facades\Config; -beforeEach()->skip('Seems to cause autoload tests to fail if this is run before them'); +beforeEach(function () { + $this->setupTestApplication(); +}); it('publishes config', function () { $path = config_path('ddd.php'); @@ -53,4 +55,4 @@ ['src/Domain', 'Domain'], ['src/Domains', 'Domains'], ['src/CustomDomainRoot', 'CustomDomainRoot'], -]); +])->skip('Causes issues with autoload tests executed after this test');