New Syntax for setting the env variable in Robofile #324

This commit is contained in:
Astrid 2017-03-24 04:11:54 +01:00 committed by Jelle Kok
parent 7e832b98c5
commit bd2e3360d6
1 changed files with 10 additions and 10 deletions

View File

@ -124,7 +124,7 @@ class RoboFile extends \Robo\Tasks
->arg('--steps')
->arg('--debug')
->arg('--fail-fast')
->arg('--env ' . $opts['env'])
->env($opts['env'])
->arg('tests/acceptance/install/')
->run()
->stopOnFail();
@ -133,7 +133,7 @@ class RoboFile extends \Robo\Tasks
->arg('--steps')
->arg('--debug')
->arg('--fail-fast')
->arg('--env ' . $opts['env'])
->env($opts['env'])
->arg('tests/acceptance/administrator/')
->run()
->stopOnFail();
@ -142,7 +142,7 @@ class RoboFile extends \Robo\Tasks
->arg('--steps')
->arg('--debug')
->arg('--fail-fast')
->arg('--env ' . $opts['env'])
->env($opts['env'])
->arg('tests/acceptance/frontend/')
->run()
->stopOnFail();