From 6320846a0f203ad6916e685566fc544d0182be7a Mon Sep 17 00:00:00 2001 From: Yves Hoppe Date: Fri, 13 Jan 2017 11:12:34 +0100 Subject: [PATCH] Fix in the RoboFile in the env parameter --- RoboFile.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/RoboFile.php b/RoboFile.php index 7ce02a5a8f..4ea8469676 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -331,7 +331,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/install/') ->run() ->stopOnFail(); @@ -340,7 +340,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/content.feature') ->run() ->stopOnFail(); @@ -349,7 +349,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/users.feature') ->run() ->stopOnFail(); @@ -358,7 +358,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/users_frontend.feature') ->run() ->stopOnFail(); @@ -367,7 +367,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/banner.feature') ->run() ->stopOnFail(); @@ -376,7 +376,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/extensions.feature') ->run() ->stopOnFail(); @@ -385,7 +385,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/category.feature') ->run() ->stopOnFail(); @@ -394,7 +394,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/administrator/') ->run() ->stopOnFail(); @@ -403,7 +403,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->arg('--steps') ->arg('--debug') ->arg('--fail-fast') - ->arg('--env ' . $opts['env']) + ->env($opts['env']) ->arg($this->testsPath . 'acceptance/frontend/') ->run() ->stopOnFail();