diff --git a/packages/framework/tests/Feature/Foundation/FilesystemTest.php b/packages/framework/tests/Feature/Foundation/FilesystemTest.php index 6c2c2811cd8..5527f9ce127 100644 --- a/packages/framework/tests/Feature/Foundation/FilesystemTest.php +++ b/packages/framework/tests/Feature/Foundation/FilesystemTest.php @@ -31,8 +31,6 @@ class FilesystemTest extends UnitTestCase protected function setUp(): void { - parent::setUp(); - $this->originalBasePath = Hyde::getBasePath(); $this->filesystem = new Filesystem(Hyde::getInstance()); } @@ -40,8 +38,6 @@ protected function setUp(): void protected function tearDown(): void { Hyde::getInstance()->setBasePath($this->originalBasePath); - - parent::tearDown(); } public function testGetBasePathReturnsKernelsBasePath() diff --git a/packages/framework/tests/Feature/MarkdownFileParserTest.php b/packages/framework/tests/Feature/MarkdownFileParserTest.php index 09e5b1dc06e..511e3afa970 100644 --- a/packages/framework/tests/Feature/MarkdownFileParserTest.php +++ b/packages/framework/tests/Feature/MarkdownFileParserTest.php @@ -35,8 +35,6 @@ protected function makeTestPost(): void protected function tearDown(): void { Filesystem::unlink('_posts/test-post.md'); - - parent::tearDown(); } public function testCanParseMarkdownFile() diff --git a/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php b/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php index 1581584a008..0b5b89908e5 100644 --- a/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php +++ b/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php @@ -45,8 +45,6 @@ protected function setUp(): void protected function tearDown(): void { - parent::tearDown(); - $this->verifyMockeryExpectations(); } diff --git a/packages/framework/tests/Unit/BuildWarningsTest.php b/packages/framework/tests/Unit/BuildWarningsTest.php index 5de6645c419..0d4207112a5 100644 --- a/packages/framework/tests/Unit/BuildWarningsTest.php +++ b/packages/framework/tests/Unit/BuildWarningsTest.php @@ -21,8 +21,6 @@ class BuildWarningsTest extends UnitTestCase protected function tearDown(): void { app()->forgetInstance(BuildWarnings::class); - - parent::tearDown(); } public function testGetInstance() diff --git a/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php b/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php index e17ad1e510b..3c109d7473b 100644 --- a/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php +++ b/packages/framework/tests/Unit/HtmlTestingSupportMetaTest.php @@ -31,8 +31,6 @@ class HtmlTestingSupportMetaTest extends UnitTestCase protected function setUp(): void { - parent::setUp(); - self::resetKernel(); $this->html ??= file_get_contents(Hyde::vendorPath('resources/views/homepages/welcome.blade.php')); diff --git a/packages/framework/tests/Unit/HydePageDataFactoryTest.php b/packages/framework/tests/Unit/HydePageDataFactoryTest.php index 8c8f2a8676a..4590a54a64d 100644 --- a/packages/framework/tests/Unit/HydePageDataFactoryTest.php +++ b/packages/framework/tests/Unit/HydePageDataFactoryTest.php @@ -22,8 +22,6 @@ class HydePageDataFactoryTest extends UnitTestCase protected function tearDown(): void { self::mockConfig(); - - parent::tearDown(); } public function testCanConstruct() diff --git a/packages/framework/tests/Unit/RenderHelperTest.php b/packages/framework/tests/Unit/RenderHelperTest.php index ee0cc280ecb..e99195248f1 100644 --- a/packages/framework/tests/Unit/RenderHelperTest.php +++ b/packages/framework/tests/Unit/RenderHelperTest.php @@ -26,8 +26,6 @@ class RenderHelperTest extends UnitTestCase protected function setUp(): void { - parent::setUp(); - Render::swap(new RenderData()); View::swap(Mockery::mock(Factory::class)->makePartial()); } diff --git a/packages/framework/tests/Unit/ServeCommandOptionsUnitTest.php b/packages/framework/tests/Unit/ServeCommandOptionsUnitTest.php index ea003f8feaf..ad04c70ea41 100644 --- a/packages/framework/tests/Unit/ServeCommandOptionsUnitTest.php +++ b/packages/framework/tests/Unit/ServeCommandOptionsUnitTest.php @@ -37,8 +37,6 @@ protected function tearDown(): void $this->addToAssertionCount(Mockery::getContainer()->mockery_getExpectationCount()); Mockery::close(); - - parent::tearDown(); } public function testGetHostSelection()