Skip to content

Commit

Permalink
Fixed: NoticeTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Mar 27, 2024
1 parent ec818f8 commit efbafcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/Admin/NoticeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ class NoticeTest extends TestCase {
public function testSetNotice() {
Notice::set_notice( 'test', 'test-notice' );

$this->expectOutputContains( 'test-notice' );
$this->expectOutputContains( 'test' );

Notice::print_notices();

Notice::set_notice( 'test', 'test-notice', 'info' );
Notice::unset_notice( 'test-notice' );
Notice::unset_notice( 'test' );

$notices = get_transient( Notice::OMGF_ADMIN_NOTICE_TRANSIENT );

Expand Down

0 comments on commit efbafcd

Please sign in to comment.