Changeset 51968 for trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
- Timestamp:
- 11/01/2021 10:22:49 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpGenerateTagCloud.php
r51565 r51968 264 264 */ 265 265 public function test_should_include_tag_link_position_class() { 266 if ( PHP_VERSION_ID >= 80100 ) { 267 /* 268 * For the time being, ignoring PHP 8.1 "null to non-nullable" deprecations coming in 269 * via hooked in filter functions until a more structural solution to the 270 * "missing input validation" conundrum has been architected and implemented. 271 */ 272 $this->expectDeprecation(); 273 $this->expectDeprecationMessageMatches( '`Passing null to parameter \#[0-9]+ \(\$[^\)]+\) of type [^ ]+ is deprecated`' ); 274 } 275 266 276 register_taxonomy( 'wptests_tax', 'post' ); 267 277 $term_ids = self::factory()->term->create_many( 3, array( 'taxonomy' => 'wptests_tax' ) );
Note: See TracChangeset
for help on using the changeset viewer.