Skip to content

Commit 8625775

Browse files
committed
Updated run-tests to use new wrapper.
1 parent 4905516 commit 8625775

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

run-tests

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,4 @@ else
3939
fi
4040

4141
bin/clear-cache
42-
VAGRANT_EXEC=$( which vagrant )
43-
if mount | grep -q '^/vagrant' || $?; then # @TODO: **OR** if command `vagrant` not found, run it directly!
44-
Console/cake test app $TESTCASE --configuration="${PHPUNIT_CONFIG}" "$@"
45-
else
46-
vagrant ssh -c "cd /var/www; Console/cake test app $TESTCASE --configuration="${PHPUNIT_CONFIG}" "$@""
47-
fi
42+
bin/run-in-vagrant "Console/cake test app $TESTCASE --configuration="${PHPUNIT_CONFIG}" "$@""

0 commit comments

Comments
 (0)