Skip to content

Commit

Permalink
Fix tests for #254
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jul 28, 2020
1 parent a2107cc commit b7d290a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<?php

// Menu Pages.
add_menu_page(); // Ok.
add_object_page();
add_utility_page();

// SubMenu Pages.
add_submenu_page(); // Ok.

// WordPress Administration Menus.
add_dashboard_page();
add_posts_page();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ class NoAddAdminPagesUnitTest extends AbstractSniffUnitTest {
*/
public function getErrorList() {
return [
4 => 1,
5 => 1,
6 => 1,
9 => 1,
12 => 1,
13 => 1,
14 => 1,
Expand Down

0 comments on commit b7d290a

Please sign in to comment.