Skip to content

Commit

Permalink
Run tests without documentation search feature
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 13, 2023
1 parent 80e8eac commit a2f6b06
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public function test_markdown_post_get_helper_returns_markdown_post_collection()

public function test_documentation_page_get_helper_returns_documentation_page_collection()
{
$this->withoutDocumentationSearch();

Filesystem::touch('_docs/test-page.md');

$collection = DocumentationPage::all();
Expand All @@ -59,5 +61,7 @@ public function test_documentation_page_get_helper_returns_documentation_page_co
$this->assertContainsOnlyInstancesOf(DocumentationPage::class, $collection);

Filesystem::unlink('_docs/test-page.md');

$this->restoreDocumentationSearch();
}
}

0 comments on commit a2f6b06

Please sign in to comment.