Changeset 53492 for trunk/tests/phpunit/tests/cron.php
- Timestamp:
- 06/13/2022 02:51:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/cron.php
r52389 r53492 103 103 /** 104 104 * Tests that a call to wp_schedule_event() on a site without any scheduled events 105 * does not result in a PHP deprecation warningon PHP 8.1 or higher.106 * 107 * The warningthat we should not see:105 * does not result in a PHP deprecation notice on PHP 8.1 or higher. 106 * 107 * The notice that we should not see: 108 108 * `Deprecated: Automatic conversion of false to array is deprecated`. 109 109 * … … 112 112 * @covers ::wp_schedule_event 113 113 */ 114 public function test_wp_schedule_event_without_cron_option_does_not_throw_ warning() {114 public function test_wp_schedule_event_without_cron_option_does_not_throw_deprecation_notice() { 115 115 delete_option( 'cron' ); 116 116
Note: See TracChangeset
for help on using the changeset viewer.