Commit 0c7ac67e authored by Eric Mann's avatar Eric Mann
Browse files

Make sure the plugin is 'enabled' for testing purposes.

parent 8786d83b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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' );