diff --git a/tests/wpunit/Admin/Plugins_PageTest.php b/tests/wpunit/Admin/Plugins_PageTest.php index fa0a69d1..af92d1d9 100644 --- a/tests/wpunit/Admin/Plugins_PageTest.php +++ b/tests/wpunit/Admin/Plugins_PageTest.php @@ -31,17 +31,4 @@ public function test_it_should_bail_if_there_is_no_plugin() { $handler = new Plugins_Page(); $this->assertNull( $handler->display_plugin_messages( 'plugins.php' ) ); } - - public function test_add_notice_to_plugin_notices_should_return_same() { - $handler = new Plugins_Page(); - $this->assertSame( [], $handler->add_notice_to_plugin_notices( [] ) ); - } - - public function test_add_notice_to_plugin_notices_should_return_updated() { - $handler = new Plugins_Page(); - $handler->plugin_notice = [ 'slug' => 'sample', 'message_row_html' => '
' ]; - - $this->assertSame( [ 'sample' => $handler->plugin_notice ], $handler->add_notice_to_plugin_notices( [] ) ); - } - }