Changeset 40520 for trunk/tests/phpunit/tests/user/capabilities.php
- Timestamp:
- 04/22/2017 06:58:46 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/user/capabilities.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/capabilities.php
r40404 r40520 612 612 } 613 613 614 /** 615 * @group ms-required 616 */ 614 617 function test_super_admin_caps() { 615 618 if ( ! is_multisite() ) { 616 619 $this->markTestSkipped( 'Test only runs in multisite' ); 617 return;618 620 } 619 621 $caps = $this->getAllCapsAndRoles(); … … 1356 1358 } 1357 1359 1360 /** 1361 * @group ms-required 1362 */ 1358 1363 function test_borked_current_user_can_for_blog() { 1359 1364 if ( ! is_multisite() ) { 1360 1365 $this->markTestSkipped( 'Test only runs in multisite' ); 1361 return;1362 1366 } 1363 1367 … … 1417 1421 } 1418 1422 1423 /** 1424 * @group ms-required 1425 */ 1419 1426 function test_multisite_administrator_can_not_edit_users() { 1420 1427 if ( ! is_multisite() ) { 1421 1428 $this->markTestSkipped( 'Test only runs in multisite' ); 1422 return;1423 1429 } 1424 1430 … … 1451 1457 } 1452 1458 1459 /** 1460 * @group ms-required 1461 */ 1453 1462 public function test_only_super_admins_can_delete_users_on_multisite() { 1454 1463 if ( ! is_multisite() ) { … … 1465 1474 } 1466 1475 1476 /** 1477 * @group ms-excluded 1478 */ 1467 1479 public function test_only_admins_can_delete_users_on_single_site() { 1468 1480 if ( is_multisite() ) { … … 1523 1535 } 1524 1536 1537 /** 1538 * @group ms-required 1539 */ 1525 1540 function test_multisite_administrator_with_manage_network_users_can_edit_users() { 1526 1541 if ( ! is_multisite() ) { 1527 1542 $this->markTestSkipped( 'Test only runs in multisite' ); 1528 return;1529 1543 } 1530 1544 … … 1542 1556 } 1543 1557 1558 /** 1559 * @group ms-required 1560 */ 1544 1561 function test_multisite_administrator_with_manage_network_users_can_not_edit_super_admin() { 1545 1562 if ( ! is_multisite() ) { 1546 1563 $this->markTestSkipped( 'Test only runs in multisite' ); 1547 return;1548 1564 } 1549 1565 … … 1765 1781 /** 1766 1782 * @ticket 39063 1783 * @group ms-required 1767 1784 */ 1768 1785 public function test_only_super_admins_can_remove_themselves_on_multisite() {
Note: See TracChangeset
for help on using the changeset viewer.