Skip to content

Commit

Permalink
Remove test with assertion not supported in old PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Jul 15, 2024
1 parent bbc3b94 commit 3433cc2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/phpunit/includes/test-admin-notice.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,6 @@
*/
class Test_Admin_Notice extends WP_UnitTestCase {

/**
* Test display formatted admin notice.
*/
public function test_message() {

$admin_notice = array(
'type' => 'error',
'notice-alt' => true,
'message' => 'Translation project not found on WordPress.org',
);
$admin_notice = new Admin_Notice( $admin_notice );

$this->assertIsObject( $admin_notice );

}

/**
* Data provider.
*
Expand Down

0 comments on commit 3433cc2

Please sign in to comment.