Changeset 51968 for trunk/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
- Timestamp:
- 11/01/2021 10:22:49 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
r51331 r51968 61 61 */ 62 62 function test_revision_count_for_auto_draft_post_creation() { 63 if ( PHP_VERSION_ID >= 80100 ) { 64 /* 65 * For the time being, ignoring PHP 8.1 "null to non-nullable" deprecations coming in 66 * via hooked in filter functions until a more structural solution to the 67 * "missing input validation" conundrum has been architected and implemented. 68 */ 69 $this->expectDeprecation(); 70 $this->expectDeprecationMessageMatches( '`Passing null to parameter \#[0-9]+ \(\$[^\)]+\) of type [^ ]+ is deprecated`' ); 71 } 72 63 73 $this->make_user_by_role( 'editor' ); 64 74
Note: See TracChangeset
for help on using the changeset viewer.