Changeset 53573 for trunk/tests/phpunit/tests/cron.php
- Timestamp:
- 06/24/2022 03:02:18 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/cron.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/cron.php
r53564 r53573 118 118 /** 119 119 * Tests that a call to wp_schedule_event() on a site without any scheduled events 120 * does not result in a PHP deprecation warningon PHP 8.1 or higher.121 * 122 * The warningthat we should not see:120 * does not result in a PHP deprecation notice on PHP 8.1 or higher. 121 * 122 * The notice that we should not see: 123 123 * `Deprecated: Automatic conversion of false to array is deprecated`. 124 124 * … … 127 127 * @covers ::wp_schedule_event 128 128 */ 129 public function test_wp_schedule_event_without_cron_option_does_not_throw_ warning() {129 public function test_wp_schedule_event_without_cron_option_does_not_throw_deprecation_notice() { 130 130 delete_option( 'cron' ); 131 131
Note: See TracChangeset
for help on using the changeset viewer.