Changeset 51568 for trunk/tests/phpunit/tests/auth.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/auth.php
r50450 r51568 33 33 } 34 34 35 function set Up() {36 parent::set Up();35 function set_up() { 36 parent::set_up(); 37 37 38 38 $this->user = clone self::$_user; … … 43 43 } 44 44 45 public function tear Down() {45 public function tear_down() { 46 46 // Cleanup all the global state. 47 47 unset( $_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'], $GLOBALS['wp_rest_application_password_status'], $GLOBALS['wp_rest_application_password_uuid'] ); 48 48 49 parent::tear Down();49 parent::tear_down(); 50 50 } 51 51
Note: See TracChangeset
for help on using the changeset viewer.