Commit b4f80272 authored by Erick Hitter's avatar Erick Hitter

PHPCS fixes

parent af4501d0
......@@ -2,7 +2,7 @@
/**
* PHPUnit bootstrap file
*
* @package Automattic_Cron_Control
* @package a8c_Cron_Control
*/
$_tests_dir = getenv( 'WP_TESTS_DIR' );
......@@ -21,8 +21,8 @@ function _manually_load_plugin() {
require dirname( dirname( __FILE__ ) ) . '/cron-control.php';
// Plugin loads after `wp_install()` is called, so we compensate
// See the `class_init()` method in Events_Store for the logic behind this
// Plugin loads after `wp_install()` is called, so we compensate.
// See the `class_init()` method in Events_Store for the logic behind this.
\Automattic\WP\Cron_Control\Events_Store::instance()->prepare_table();
remove_filter( 'schedule_event', '__return_false' );
add_filter( 'pre_option_cron', array( \Automattic\WP\Cron_Control\Events_Store::instance(), 'get_option' ) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment