diff --git a/plugins/woocommerce-admin/phpunit.xml.dist b/plugins/woocommerce-admin/phpunit.xml.dist index d9af975f27d..c0bc1b26dfa 100644 --- a/plugins/woocommerce-admin/phpunit.xml.dist +++ b/plugins/woocommerce-admin/phpunit.xml.dist @@ -1,4 +1,4 @@ - + - + ./tests/ diff --git a/plugins/woocommerce-admin/tests/bootstrap.php b/plugins/woocommerce-admin/tests/bootstrap.php index 5b5f20e4eeb..d8f7337668e 100755 --- a/plugins/woocommerce-admin/tests/bootstrap.php +++ b/plugins/woocommerce-admin/tests/bootstrap.php @@ -23,6 +23,7 @@ require_once $_tests_dir . '/includes/functions.php'; * Manually load the plugin being tested. */ function _manually_load_plugin() { + require dirname( dirname( dirname( __FILE__ ) ) ) . '/gutenberg/gutenberg.php'; require dirname( dirname( __FILE__ ) ) . '/woo-dash.php'; } tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );