- Timestamp:
- 02/25/2020 03:32:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-schema-sanitization.php
r46586 r47362 276 276 } 277 277 278 /** 279 * @ticket 42961 280 */ 281 public function test_type_object_accepts_empty_string() { 282 $this->assertEquals( array(), rest_sanitize_value_from_schema( '', array( 'type' => 'object' ) ) ); 283 } 284 278 285 public function test_type_unknown() { 279 286 $schema = array(
Note: See TracChangeset
for help on using the changeset viewer.