- Timestamp:
- 08/06/2021 09:38:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-schema-validation.php
r50653 r51563 158 158 public function test_format_validation_is_applied_if_missing_type() { 159 159 if ( PHP_VERSION_ID >= 80000 ) { 160 $this->expect Exception( 'PHPUnit_Framework_Error_Warning'); // For the undefined index.160 $this->expectWarning(); // For the undefined index. 161 161 } else { 162 $this->expect Exception( 'PHPUnit_Framework_Error_Notice' );162 $this->expectNotice(); // For the undefined index. 163 163 } 164 164
Note: See TracChangeset
for help on using the changeset viewer.