- Timestamp:
- 05/01/2017 08:34:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-users-controller.php
r40543 r40564 997 997 */ 998 998 public function test_create_new_network_user_on_site_does_not_add_user_to_sub_site() { 999 $this->skipWithoutMultisite();1000 1001 999 $this->allow_user_to_manage_multisite(); 1002 1000 … … 1027 1025 */ 1028 1026 public function test_create_new_network_user_on_sub_site_adds_user_to_site() { 1029 $this->skipWithoutMultisite();1030 1031 1027 $this->allow_user_to_manage_multisite(); 1032 1028 … … 1061 1057 */ 1062 1058 public function test_create_existing_network_user_on_sub_site_has_error() { 1063 $this->skipWithoutMultisite();1064 1065 1059 $this->allow_user_to_manage_multisite(); 1066 1060 … … 1449 1443 */ 1450 1444 public function test_update_user_role_invalid_privilege_deescalation() { 1451 $this->skipWithMultisite();1452 1453 1445 $user_id = $this->factory->user->create( array( 'role' => 'administrator' ) ); 1454 1446 … … 1480 1472 */ 1481 1473 public function test_update_user_role_privilege_deescalation_multisite() { 1482 $this->skipWithoutMultisite();1483 1484 1474 $user_id = $this->factory->user->create( array( 'role' => 'administrator' ) ); 1485 1475 … … 2229 2219 */ 2230 2220 public function test_get_item_from_different_site_as_site_administrator() { 2231 $this->skipWithoutMultisite();2232 2233 2221 switch_to_blog( self::$site ); 2234 2222 $user_id = $this->factory->user->create( array( … … 2249 2237 */ 2250 2238 public function test_get_item_from_different_site_as_network_administrator() { 2251 $this->skipWithoutMultisite();2252 2253 2239 switch_to_blog( self::$site ); 2254 2240 $user_id = $this->factory->user->create( array( … … 2269 2255 */ 2270 2256 public function test_update_item_from_different_site_as_site_administrator() { 2271 $this->skipWithoutMultisite();2272 2273 2257 switch_to_blog( self::$site ); 2274 2258 $user_id = $this->factory->user->create( array( … … 2291 2275 */ 2292 2276 public function test_update_item_from_different_site_as_network_administrator() { 2293 $this->skipWithoutMultisite();2294 2295 2277 switch_to_blog( self::$site ); 2296 2278 $user_id = $this->factory->user->create( array( … … 2313 2295 */ 2314 2296 public function test_delete_item_from_different_site_as_site_administrator() { 2315 $this->skipWithoutMultisite();2316 2317 2297 switch_to_blog( self::$site ); 2318 2298 $user_id = $this->factory->user->create( array( … … 2335 2315 */ 2336 2316 public function test_delete_item_from_different_site_as_network_administrator() { 2337 $this->skipWithoutMultisite();2338 2339 2317 switch_to_blog( self::$site ); 2340 2318 $user_id = $this->factory->user->create( array(
Note: See TracChangeset
for help on using the changeset viewer.