Changeset 51568 for trunk/tests/phpunit/tests/rest-api.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api.php
r51419 r51568 15 15 */ 16 16 class Tests_REST_API extends WP_UnitTestCase { 17 public function set Up() {18 parent::set Up();17 public function set_up() { 18 parent::set_up(); 19 19 20 20 // Override the normal server with our spying server. … … 23 23 } 24 24 25 public function tear Down() {25 public function tear_down() { 26 26 remove_filter( 'wp_rest_server_class', array( $this, 'filter_wp_rest_server_class' ) ); 27 parent::tear Down();27 parent::tear_down(); 28 28 } 29 29
Note: See TracChangeset
for help on using the changeset viewer.