Loading tests/bootstrap.php +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,9 @@ if ( false !== getenv( 'WP_DEVELOP_DIR' ) ) { require $test_root . '/includes/functions.php'; function _manually_load_plugin() { // Make sure the plugin is "enabled" define( 'S3_UPLOADS_AUTOENABLE', true ); require dirname( __FILE__ ) . '/../s3-uploads.php'; } tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); Loading Loading
tests/bootstrap.php +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,9 @@ if ( false !== getenv( 'WP_DEVELOP_DIR' ) ) { require $test_root . '/includes/functions.php'; function _manually_load_plugin() { // Make sure the plugin is "enabled" define( 'S3_UPLOADS_AUTOENABLE', true ); require dirname( __FILE__ ) . '/../s3-uploads.php'; } tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); Loading