-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
The test suite contains a test regarding an alternate cron that does not seem to be complete, it does never trigger any cron:
cron-command/features/cron.feature
Lines 285 to 307 in 1eadbe6
| Scenario: Don't trigger cron when ALTERNATE_WP_CRON is defined | |
| Given a alternate-wp-cron.php file: | |
| """ | |
| <?php | |
| define( 'ALTERNATE_WP_CRON', true ); | |
| """ | |
| And a wp-cli.yml file: | |
| """ | |
| require: | |
| - alternate-wp-cron.php | |
| """ | |
| When I run `wp eval 'var_export( ALTERNATE_WP_CRON );'` | |
| Then STDOUT should be: | |
| """ | |
| true | |
| """ | |
| When I run `wp option get home` | |
| Then STDOUT should be: | |
| """ | |
| http://example.com | |
| """ |
Copilot