Changeset 51968 for trunk/tests/phpunit/tests/formatting/wpTrimExcerpt.php
- Timestamp:
- 11/01/2021 10:22:49 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/wpTrimExcerpt.php
r51623 r51968 72 72 */ 73 73 public function test_should_generate_excerpt_for_empty_values() { 74 if ( PHP_VERSION_ID >= 80100 ) { 75 /* 76 * For the time being, ignoring PHP 8.1 "null to non-nullable" deprecations coming in 77 * via hooked in filter functions until a more structural solution to the 78 * "missing input validation" conundrum has been architected and implemented. 79 */ 80 $this->expectDeprecation(); 81 $this->expectDeprecationMessageMatches( '`Passing null to parameter \#[0-9]+ \(\$[^\)]+\) of type [^ ]+ is deprecated`' ); 82 } 83 74 84 $post = self::factory()->post->create( 75 85 array(
Note: See TracChangeset
for help on using the changeset viewer.