Changeset 44973 for trunk/tests/phpunit/tests/user/capabilities.php
- Timestamp:
- 03/21/2019 09:52:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/capabilities.php
r44717 r44973 102 102 'switch_themes' => array( 'administrator' ), 103 103 'edit_dashboard' => array( 'administrator' ), 104 'resume_plugins' => array( 'administrator' ), 105 'resume_themes' => array( 'administrator' ), 104 106 105 107 'moderate_comments' => array( 'administrator', 'editor' ), … … 182 184 'switch_themes' => array( 'administrator' ), 183 185 'edit_dashboard' => array( 'administrator' ), 186 'resume_plugins' => array( 'administrator' ), 187 'resume_themes' => array( 'administrator' ), 184 188 185 189 'moderate_comments' => array( 'administrator', 'editor' ), … … 393 397 $actual['author'], 394 398 $actual['subscriber'], 395 $actual['contributor'] 399 $actual['contributor'], 400 // the following two are granted via `user_has_cap`: 401 $actual['resume_plugins'], 402 $actual['resume_themes'] 396 403 ); 397 404 … … 455 462 $expected['activate_plugin'], 456 463 $expected['deactivate_plugin'], 464 $expected['resume_plugin'], 465 $expected['resume_theme'], 457 466 $expected['remove_user'], 458 467 $expected['promote_user'],
Note: See TracChangeset
for help on using the changeset viewer.