diff --git a/packages/framework/src/Framework/Actions/PostBuildTasks/GenerateSearch.php b/packages/framework/src/Framework/Actions/PostBuildTasks/GenerateSearch.php deleted file mode 100644 index a2d115a6e96..00000000000 --- a/packages/framework/src/Framework/Actions/PostBuildTasks/GenerateSearch.php +++ /dev/null @@ -1,34 +0,0 @@ -path = GeneratesDocumentationSearchIndex::handle(); - - if (DocumentationSearchPage::enabled()) { - $this->createdSiteFile(DocumentationSearchPage::generate()); - } - } - - public function printFinishMessage(): void - { - $this->createdSiteFile($this->path)->withExecutionTime(); - } -} diff --git a/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php b/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php index dfcf392d5bf..9562ae12512 100644 --- a/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php +++ b/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php @@ -12,7 +12,6 @@ /** * @covers \Hyde\Console\Commands\BuildSearchCommand - * @covers \Hyde\Framework\Actions\PostBuildTasks\GenerateSearch * @covers \Hyde\Framework\Features\Documentation\DocumentationSearchPage * @covers \Hyde\Framework\Features\Documentation\DocumentationSearchIndex */ diff --git a/packages/framework/tests/Feature/Services/BuildTaskServiceTest.php b/packages/framework/tests/Feature/Services/BuildTaskServiceTest.php index 0260d37a8f6..347f83530ca 100644 --- a/packages/framework/tests/Feature/Services/BuildTaskServiceTest.php +++ b/packages/framework/tests/Feature/Services/BuildTaskServiceTest.php @@ -19,7 +19,6 @@ * @covers \Hyde\Framework\Features\BuildTasks\PostBuildTask * @covers \Hyde\Framework\Actions\PostBuildTasks\GenerateSitemap * @covers \Hyde\Framework\Actions\PostBuildTasks\GenerateRssFeed - * @covers \Hyde\Framework\Actions\PostBuildTasks\GenerateSearch * * @see \Hyde\Framework\Testing\Unit\BuildTaskServiceUnitTest */ diff --git a/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php b/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php index 1b08979d54f..bcf14ff42a2 100644 --- a/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php +++ b/packages/framework/tests/Unit/BuildTaskServiceUnitTest.php @@ -8,7 +8,6 @@ use Hyde\Foundation\Kernel\Filesystem; use Hyde\Framework\Actions\PostBuildTasks\GenerateBuildManifest; use Hyde\Framework\Actions\PostBuildTasks\GenerateRssFeed; -use Hyde\Framework\Actions\PostBuildTasks\GenerateSearch; use Hyde\Framework\Actions\PostBuildTasks\GenerateSitemap as FrameworkGenerateSitemap; use Hyde\Framework\Features\BuildTasks\BuildTask; use Hyde\Framework\Features\BuildTasks\PostBuildTask; @@ -167,11 +166,6 @@ public function testGenerateRssFeedExtendsPostBuildTask() $this->assertInstanceOf(PostBuildTask::class, new GenerateRssFeed()); } - public function testGenerateSearchExtendsPostBuildTask() - { - $this->assertInstanceOf(PostBuildTask::class, new GenerateSearch()); - } - public function testGenerateSitemapExtendsPostBuildTask() { $this->assertInstanceOf(PostBuildTask::class, new FrameworkGenerateSitemap());