Update phpunit dir

This commit is contained in:
Mike Jolley 2019-06-11 10:53:58 +01:00
parent 0753e3f6a8
commit fa8ebdc47f
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash
WORKING_DIR="$PWD"
cd "$WP_CORE_DIR/wp-content/plugins/woocommerce-rest-api/"
phpunit --version
phpunit -c phpunit.xml
./vendor/bin/phpunit --version
./vendor/bin/phpunit -c phpunit.xml
TEST_RESULT=$?
cd "$WORKING_DIR"
exit $TEST_RESULT