Changeset 51568 for trunk/tests/phpunit/tests/template.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/template.php
r48937 r51568 64 64 } 65 65 66 public function set Up() {67 parent::set Up();66 public function set_up() { 67 parent::set_up(); 68 68 register_post_type( 69 69 'cpt', … … 83 83 } 84 84 85 public function tear Down() {85 public function tear_down() { 86 86 unregister_post_type( 'cpt' ); 87 87 unregister_taxonomy( 'taxo' ); 88 88 $this->set_permalink_structure( '' ); 89 parent::tear Down();89 parent::tear_down(); 90 90 } 91 91
Note: See TracChangeset
for help on using the changeset viewer.