woocommerce/plugins/woocommerce-admin/bin/phpunit.sh

9 lines
183 B
Bash
Raw Normal View History

2018-09-21 13:06:16 +00:00
#!/usr/bin/env bash
WORKING_DIR="$PWD"
cd "$WP_CORE_DIR/wp-content/plugins/wc-admin/"
phpunit --version
phpunit -c phpunit.xml.dist
TEST_RESULT=$?
cd "$WORKING_DIR"
exit $TEST_RESULT