@@ -331,7 +331,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
331331 ->arg ('--steps ' )
332332 ->arg ('--debug ' )
333333 ->arg ('--fail-fast ' )
334- ->arg ( ' -- env ' . $ opts ['env ' ])
334+ ->env ( $ opts ['env ' ])
335335 ->arg ($ this ->testsPath . 'acceptance/install/ ' )
336336 ->run ()
337337 ->stopOnFail ();
@@ -340,7 +340,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
340340 ->arg ('--steps ' )
341341 ->arg ('--debug ' )
342342 ->arg ('--fail-fast ' )
343- ->arg ( ' -- env ' . $ opts ['env ' ])
343+ ->env ( $ opts ['env ' ])
344344 ->arg ($ this ->testsPath . 'acceptance/content.feature ' )
345345 ->run ()
346346 ->stopOnFail ();
@@ -349,7 +349,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
349349 ->arg ('--steps ' )
350350 ->arg ('--debug ' )
351351 ->arg ('--fail-fast ' )
352- ->arg ( ' -- env ' . $ opts ['env ' ])
352+ ->env ( $ opts ['env ' ])
353353 ->arg ($ this ->testsPath . 'acceptance/users.feature ' )
354354 ->run ()
355355 ->stopOnFail ();
@@ -358,7 +358,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
358358 ->arg ('--steps ' )
359359 ->arg ('--debug ' )
360360 ->arg ('--fail-fast ' )
361- ->arg ( ' -- env ' . $ opts ['env ' ])
361+ ->env ( $ opts ['env ' ])
362362 ->arg ($ this ->testsPath . 'acceptance/users_frontend.feature ' )
363363 ->run ()
364364 ->stopOnFail ();
@@ -367,7 +367,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
367367 ->arg ('--steps ' )
368368 ->arg ('--debug ' )
369369 ->arg ('--fail-fast ' )
370- ->arg ( ' -- env ' . $ opts ['env ' ])
370+ ->env ( $ opts ['env ' ])
371371 ->arg ($ this ->testsPath . 'acceptance/banner.feature ' )
372372 ->run ()
373373 ->stopOnFail ();
@@ -376,7 +376,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
376376 ->arg ('--steps ' )
377377 ->arg ('--debug ' )
378378 ->arg ('--fail-fast ' )
379- ->arg ( ' -- env ' . $ opts ['env ' ])
379+ ->env ( $ opts ['env ' ])
380380 ->arg ($ this ->testsPath . 'acceptance/extensions.feature ' )
381381 ->run ()
382382 ->stopOnFail ();
@@ -385,7 +385,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
385385 ->arg ('--steps ' )
386386 ->arg ('--debug ' )
387387 ->arg ('--fail-fast ' )
388- ->arg ( ' -- env ' . $ opts ['env ' ])
388+ ->env ( $ opts ['env ' ])
389389 ->arg ($ this ->testsPath . 'acceptance/category.feature ' )
390390 ->run ()
391391 ->stopOnFail ();
@@ -394,7 +394,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
394394 ->arg ('--steps ' )
395395 ->arg ('--debug ' )
396396 ->arg ('--fail-fast ' )
397- ->arg ( ' -- env ' . $ opts ['env ' ])
397+ ->env ( $ opts ['env ' ])
398398 ->arg ($ this ->testsPath . 'acceptance/administrator/ ' )
399399 ->run ()
400400 ->stopOnFail ();
@@ -403,7 +403,7 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop'])
403403 ->arg ('--steps ' )
404404 ->arg ('--debug ' )
405405 ->arg ('--fail-fast ' )
406- ->arg ( ' -- env ' . $ opts ['env ' ])
406+ ->env ( $ opts ['env ' ])
407407 ->arg ($ this ->testsPath . 'acceptance/frontend/ ' )
408408 ->run ()
409409 ->stopOnFail ();
0 commit comments