Changeset 49547 for trunk/tests/phpunit/tests/rest-api/rest-controller.php
- Timestamp:
- 11/09/2020 03:43:14 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-controller.php
r49246 r49547 249 249 $args = rest_get_endpoint_args_for_schema( $controller->get_item_schema() ); 250 250 251 $this->assert Equals( 'A pretty string.', $args['somestring']['description'] );251 $this->assertSame( 'A pretty string.', $args['somestring']['description'] ); 252 252 $this->assertFalse( isset( $args['someinteger']['description'] ) ); 253 253 }
Note: See TracChangeset
for help on using the changeset viewer.