Skip to content

Commit

Permalink
fix string
Browse files Browse the repository at this point in the history
  • Loading branch information
kadencewp committed Dec 3, 2024
1 parent 007ca4b commit 6983bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/wpunit/Admin/NoticeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function test_it_should_display_notice_with_link() {
$notice = new Notice();
$notice->add_notice( Notice::EXPIRED_KEY, 'uplink' );

$this->expectOutputString( '<p>Your license is expired <a href="https://evnt.is/195y" target="_blank" class="button button-primary">Renew Your License Now <span class="screen-reader-text">(opens in a new window)</span></a></p>' );
$this->expectOutputString( '<div class="notice notice-warning"><p>Your license is expired <a href="https://evnt.is/195y" target="_blank" class="button button-primary">Renew Your License Now <span class="screen-reader-text">(opens in a new window)</span></a></p></div>' );

$notice->setup_notices();
}
Expand Down

0 comments on commit 6983bea

Please sign in to comment.