Verified Commit ce26c87c authored by Erick Hitter's avatar Erick Hitter
Browse files

Define the constant this plugin needs to actually do anything

parent fe6985ea
......@@ -17,6 +17,8 @@ require_once $_tests_dir . '/includes/functions.php';
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
define( 'WP_CRON_CONTROL_SECRET', 'testtesttest' );
require dirname( dirname( __FILE__ ) ) . '/wp-cron-control-revisited.php';
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
......
Supports Markdown
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