- Timestamp:
- 08/06/2021 09:38:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-schema-sanitization.php
r49246 r51563 458 458 public function test_format_validation_is_applied_if_missing_type() { 459 459 if ( PHP_VERSION_ID >= 80000 ) { 460 $this->expect Exception( 'PHPUnit_Framework_Error_Warning'); // For the undefined index.460 $this->expectWarning(); // For the undefined index. 461 461 } else { 462 $this->expect Exception( 'PHPUnit_Framework_Error_Notice' );462 $this->expectNotice(); // For the undefined index. 463 463 } 464 464
Note: See TracChangeset
for help on using the changeset viewer.