Remove dependencies installation from acceptace tests

[MAILPOET-1535]
This commit is contained in:
Rostislav Wolny
2018-09-17 18:10:29 +02:00
parent 78967c8d6a
commit 079fe6f280
4 changed files with 15 additions and 20 deletions

View File

@ -231,19 +231,19 @@ class RoboFile extends \Robo\Tasks {
return $this->_exec($command);
}
function testAcceptance($opts=['file' => null, 'keep-deps' => false]) {
function testAcceptance($opts=['file' => null, 'skip-deps' => false]) {
return $this->_exec(
'COMPOSE_HTTP_TIMEOUT=200 docker-compose run ' .
($opts['keep-deps'] ? '-e KEEP_DEPS=1 ' : '') .
($opts['skip-deps'] ? '-e SKIP_DEPS=1 ' : '') .
'codeception --steps --debug -vvv ' .
'-f ' . ($opts['file'] ? $opts['file'] : '')
);
}
function testAcceptanceMultisite($opts=['file' => null, 'keep-deps' => false]) {
function testAcceptanceMultisite($opts=['file' => null, 'skip-deps' => false]) {
return $this->_exec(
'COMPOSE_HTTP_TIMEOUT=200 docker-compose run ' .
($opts['keep-deps'] ? '-e KEEP_DEPS=1 ' : '') .
($opts['skip-deps'] ? '-e SKIP_DEPS=1 ' : '') .
'-e MULTISITE=1 ' .
'codeception --steps --debug -vvv' .
'-f ' . ($opts['file'] ? $opts['file'] : '')