diff --git a/unit-tests/bin/install.sh b/unit-tests/bin/install.sh index 269e4ed91a3..4cdcc6c5b49 100755 --- a/unit-tests/bin/install.sh +++ b/unit-tests/bin/install.sh @@ -180,9 +180,16 @@ install_deps() { cd "wp-content/plugins/" git clone --depth 1 https://github.com/woocommerce/woocommerce.git + git clone --depth 1 https://github.com/woocommerce/woocommerce-admin.git + + cd "woocommerce-admin" + composer install + npm install + npm run build cd "$WP_CORE_DIR" php wp-cli.phar plugin activate woocommerce + php wp-cli.phar plugin activate woocommerce-admin if [ "$BRANCH" != "" ]; then # Install the correct branch of the plugin, if running from Travis CI. @@ -196,4 +203,4 @@ install_deps() { install_wp install_test_suite install_db -install_deps \ No newline at end of file +install_deps