Update phpunit dir
This commit is contained in:
parent
0753e3f6a8
commit
fa8ebdc47f
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
WORKING_DIR="$PWD"
|
WORKING_DIR="$PWD"
|
||||||
cd "$WP_CORE_DIR/wp-content/plugins/woocommerce-rest-api/"
|
cd "$WP_CORE_DIR/wp-content/plugins/woocommerce-rest-api/"
|
||||||
phpunit --version
|
./vendor/bin/phpunit --version
|
||||||
phpunit -c phpunit.xml
|
./vendor/bin/phpunit -c phpunit.xml
|
||||||
TEST_RESULT=$?
|
TEST_RESULT=$?
|
||||||
cd "$WORKING_DIR"
|
cd "$WORKING_DIR"
|
||||||
exit $TEST_RESULT
|
exit $TEST_RESULT
|
Loading…
Reference in New Issue