From 8e45658b5868fdb5fb9c55534f930cc67961286f Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sun, 22 Dec 2024 21:44:17 +0100 Subject: [PATCH] Simplify setup --- .../tests/Unit/InteractivePublishCommandHelperTest.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/framework/tests/Unit/InteractivePublishCommandHelperTest.php b/packages/framework/tests/Unit/InteractivePublishCommandHelperTest.php index ae1049c7a18..524ae82dc36 100644 --- a/packages/framework/tests/Unit/InteractivePublishCommandHelperTest.php +++ b/packages/framework/tests/Unit/InteractivePublishCommandHelperTest.php @@ -11,7 +11,6 @@ use Hyde\Testing\UnitTestCase; use Hyde\Foundation\Providers\ViewServiceProvider; use Hyde\Console\Helpers\InteractivePublishCommandHelper; -use Illuminate\Container\Container; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Facade; use Illuminate\Support\Facades\File; @@ -33,7 +32,6 @@ class InteractivePublishCommandHelperTest extends UnitTestCase protected function setUp(): void { $app = $this->createApplication(); - Container::setInstance($app); $this->filesystem = $this->mockFilesystemStrict(); $this->filesystem->shouldReceive('allFiles')->andReturn([])->byDefault(); @@ -48,7 +46,6 @@ protected function tearDown(): void { $this->verifyMockeryExpectations(); - Container::setInstance(); Facade::clearResolvedInstances(); }