Changeset 51568 for trunk/tests/phpunit/tests/post/wpInsertPost.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/wpInsertPost.php
r49603 r51568 30 30 } 31 31 32 static function tear DownAfterClass() {32 static function tear_down_after_class() { 33 33 $role = get_role( 'administrator' ); 34 34 $role->remove_cap( 'publish_mapped_meta_caps' ); 35 35 $role->remove_cap( 'publish_unmapped_meta_caps' ); 36 36 37 parent::tear DownAfterClass();38 } 39 40 function set Up() {41 parent::set Up();37 parent::tear_down_after_class(); 38 } 39 40 function set_up() { 41 parent::set_up(); 42 42 43 43 register_post_type(
Note: See TracChangeset
for help on using the changeset viewer.