Changeset 49246 for trunk/tests/phpunit/tests/rest-api/rest-controller.php
- Timestamp:
- 10/20/2020 06:22:39 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-controller.php
r49082 r49246 67 67 68 68 $this->assertErrorResponse( 69 'rest_invalid_ param',69 'rest_invalid_type', 70 70 rest_validate_request_arg( 'abc', $this->request, 'someinteger' ) 71 71 ); … … 141 141 142 142 $this->assertErrorResponse( 143 'rest_invalid_ param',143 'rest_invalid_type', 144 144 rest_validate_request_arg( '123', $this->request, 'someboolean' ) 145 145 ); … … 153 153 154 154 $this->assertErrorResponse( 155 'rest_invalid_ param',155 'rest_invalid_type', 156 156 rest_validate_request_arg( array( 'foo' => 'bar' ), $this->request, 'somestring' ) 157 157 ); … … 298 298 'minProperties', 299 299 'maxProperties', 300 'anyOf', 301 'oneOf', 300 302 ); 301 303 foreach ( $object_properties as $property ) {
Note: See TracChangeset
for help on using the changeset viewer.