Skip to content

Commit

Permalink
Merge pull request #857 from hydephp/handle-deprecations
Browse files Browse the repository at this point in the history
Remove unused deprecated testing helper method
  • Loading branch information
caendesilva authored Jan 22, 2023
2 parents 5244994 + 27371bb commit a3da55b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/testing/src/ResetsApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,12 @@ trait ResetsApplication
{
protected function resetApplication(): void
{
$this->resetMedia();
$this->resetPages();
$this->resetPosts();
$this->resetDocs();
$this->resetSite();
}

/** @deprecated unless applicable usages are found */
protected function resetMedia(): void
{
//
}

protected function resetPages(): void
{
array_map('\Hyde\Testing\TestCase::unlinkUnlessDefault', glob(Hyde::path('_pages/*.md')));
Expand Down

0 comments on commit a3da55b

Please sign in to comment.