phpunit
This commit is contained in:
parent
99a09c5810
commit
a344d1fad5
|
@ -1,8 +1,4 @@
|
|||
#!/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
|
||||
phpunit -c phpunit.xml $@
|
||||
|
|
Loading…
Reference in New Issue