- 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-application-passwords-controller.php
r50450 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 69 69 add_filter( 'wp_is_application_passwords_available', '__return_true' ); 70 70 } 71 71 72 public function tear Down() {72 public function tear_down() { 73 73 unset( $_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'], $GLOBALS['wp_rest_application_password_status'], $GLOBALS['wp_rest_application_password_uuid'] ); 74 parent::tear Down();74 parent::tear_down(); 75 75 } 76 76
Note: See TracChangeset
for help on using the changeset viewer.