Skip to content

Commit

Permalink
Removed unused tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesckemp committed Aug 8, 2023
1 parent 67e6e37 commit c43540c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/wpunit/Admin/Plugins_PageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '<div></div>' ];

$this->assertSame( [ 'sample' => $handler->plugin_notice ], $handler->add_notice_to_plugin_notices( [] ) );
}

}

0 comments on commit c43540c

Please sign in to comment.