From c43540cb137229c562a1e6754916a19503c2fdf5 Mon Sep 17 00:00:00 2001 From: James Kemp Date: Tue, 8 Aug 2023 14:17:37 +0100 Subject: [PATCH] Removed unused tests --- tests/wpunit/Admin/Plugins_PageTest.php | 13 ------------- 1 file changed, 13 deletions(-) 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( [] ) ); - } - }