- Timestamp:
- 11/16/2020 10:40:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-application-passwords-controller.php
r49603 r49617 113 113 114 114 $response = rest_do_request( '/wp/v2/users/me/application-passwords' ); 115 $this->assertErrorResponse( 'application_passwords_disabled', $response, 50 0);115 $this->assertErrorResponse( 'application_passwords_disabled', $response, 501 ); 116 116 } 117 117 … … 124 124 125 125 $response = rest_do_request( '/wp/v2/users/me/application-passwords' ); 126 $this->assertErrorResponse( 'application_passwords_disabled_for_user', $response, 50 0);126 $this->assertErrorResponse( 'application_passwords_disabled_for_user', $response, 501 ); 127 127 } 128 128
Note: See TracChangeset
for help on using the changeset viewer.