From 6c79b715bdf2965991c469e450061979204b252b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 4 Apr 2016 22:29:55 +0000 Subject: [PATCH] Role/Capability: Add `create_sites` and `delete_sites` to the list of capabilities that are checked as part of the comporehensive roles and capabilities tests. See #32394, #36413 git-svn-id: https://develop.svn.wordpress.org/trunk@37157 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/user/capabilities.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/phpunit/tests/user/capabilities.php b/tests/phpunit/tests/user/capabilities.php index 1316c17498..87e498b952 100644 --- a/tests/phpunit/tests/user/capabilities.php +++ b/tests/phpunit/tests/user/capabilities.php @@ -59,6 +59,8 @@ class Tests_User_Capabilities extends WP_UnitTestCase { 'unfiltered_html' => array( 'administrator', 'editor' ), + 'create_sites' => array(), + 'delete_sites' => array(), 'manage_network' => array(), 'manage_sites' => array(), 'manage_network_users' => array(), @@ -148,6 +150,8 @@ class Tests_User_Capabilities extends WP_UnitTestCase { 'unfiltered_html' => array(), + 'create_sites' => array(), + 'delete_sites' => array(), 'manage_network' => array(), 'manage_sites' => array(), 'manage_network_users' => array(),