From 7d2143f10a45868570de7f04c9c18ed4ddfaff2f Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Wed, 19 Dec 2018 15:49:34 +0100
Subject: [PATCH] Use docker-compose command line options from env variable

---
 ahoy.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ahoy.yml b/ahoy.yml
index 548d49e..3c6528d 100644
--- a/ahoy.yml
+++ b/ahoy.yml
@@ -1,10 +1,12 @@
 ahoyapi: v2
 commands:
+  exec:
+    cmd: docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} --user root php ./vendor/bin/behat --config tests/behat/behat.yml "$@"
   test:
-    cmd: docker-compose exec -T --user root php ./vendor/bin/behat --config tests/behat/behat.yml "$@"
+    cmd: ahoy behat "$@"
     usage: Run Behat tests on the project
   test2xml:
-    cmd: docker-compose exec -T --user root php ./vendor/bin/behat --config tests/behat/behat.yml --format junit --out tests/output "$@"
+    cmd: ahoy behat --format junit --out tests/output "$@"
     usage: Run Behat tests on the project and output in junit format
   update:
     cmd: composer lakedrops:behat "$@"
-- 
GitLab