diff --git a/tests/php.sh b/tests/php.sh index c16b585..6a4d4be 100755 --- a/tests/php.sh +++ b/tests/php.sh @@ -5,4 +5,4 @@ cd "$(dirname "$0")" ./../vendor/bin/codecept build ./../docker/wait-for-it.sh testdb:3306 testrabbit:5672 -- \ -php codeception/bin/yii migrate/up --interactive=0 && ./../vendor/bin/codecept run +php codeception/bin/yii migrate/up --interactive=0 && ./../vendor/bin/codecept run $* diff --git a/tests/run-tests.sh b/tests/run-tests.sh index bc0e9b6..7ff68f2 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -2,5 +2,5 @@ cd "$(dirname "$0")" -docker-compose run --rm testphp ./tests/php.sh +docker-compose run --rm testphp ./tests/php.sh $* docker-compose stop # docker не останавливает зависимые контейнеры после завершения работы главного процесса