Changeset 51568 for trunk/tests/phpunit/tests/rest-api/rest-controller.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-controller.php
r51454 r51568 17 17 } 18 18 19 public function set Up() {20 parent::set Up();19 public function set_up() { 20 parent::set_up(); 21 21 $this->request = new WP_REST_Request( 22 22 'GET', … … 58 58 } 59 59 60 public function tear Down() {60 public function tear_down() { 61 61 global $wp_rest_additional_fields; 62 62 $wp_rest_additional_fields = array(); 63 63 64 parent::tear Down();64 parent::tear_down(); 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.