woocommerce/unit-tests/bin/phpunit.sh

9 lines
195 B
Bash
Raw Normal View History

2019-06-10 16:09:42 +00:00
#!/usr/bin/env bash
WORKING_DIR="$PWD"
cd "$WP_CORE_DIR/wp-content/plugins/woocommerce-rest-api/"
phpunit --version
phpunit -c phpunit.xml.dist
TEST_RESULT=$?
cd "$WORKING_DIR"
exit $TEST_RESULT