diff --git a/tests/phpunit/tests/user/capabilities.php b/tests/phpunit/tests/user/capabilities.php index 99051fd6ae..475ef39e92 100644 --- a/tests/phpunit/tests/user/capabilities.php +++ b/tests/phpunit/tests/user/capabilities.php @@ -82,7 +82,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase { 'edit_published_pages' => array( 'administrator', 'editor' ), 'publish_pages' => array( 'administrator', 'editor' ), 'delete_pages' => array( 'administrator', 'editor' ), - 'delete_others_posts' => array( 'administrator', 'editor' ), + 'delete_others_pages' => array( 'administrator', 'editor' ), 'delete_published_pages' => array( 'administrator', 'editor' ), 'delete_others_posts' => array( 'administrator', 'editor' ), 'delete_private_posts' => array( 'administrator', 'editor' ), @@ -162,7 +162,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase { 'edit_published_pages' => array( 'administrator', 'editor' ), 'publish_pages' => array( 'administrator', 'editor' ), 'delete_pages' => array( 'administrator', 'editor' ), - 'delete_others_posts' => array( 'administrator', 'editor' ), + 'delete_others_pages' => array( 'administrator', 'editor' ), 'delete_published_pages' => array( 'administrator', 'editor' ), 'delete_others_posts' => array( 'administrator', 'editor' ), 'delete_private_posts' => array( 'administrator', 'editor' ),