Skip to content

Commit

Permalink
test: resolves duplicate method from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheAdams committed Nov 19, 2024
1 parent 1c2d728 commit b64ff31
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/unit/Actions/DisplayNoticesInAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,6 @@ private function getSimpleNoticeOutput(string $content): string
return "<div class='notice notice-info' data-stellarwp-namespace-notice-id='test_id'>$content</div>";
}

/**
* @unreleased
*/
public function expectNoticeInOutput(string $expected): void
{
$this->expectOutputString($this->getSimpleNoticeOutput($expected));
}

/**
* @unreleased
*/
private function getSimpleNoticeOutput(string $content): string
{
return "<div class='notice notice-info' data-stellarwp-namespace-notice-id='test_id'>$content</div>";
}

/**
* Produces a simple mock with predictable output.
*
Expand Down

0 comments on commit b64ff31

Please sign in to comment.