Commit f80ec42a authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

Don't harcoded the path to the test directory in the behat tests.

parent 3478d904
Pipeline #2070 passed with stages
in 1 minute and 29 seconds
...@@ -55,8 +55,9 @@ def install(): ...@@ -55,8 +55,9 @@ def install():
if not os.path.exists('{}/tests/behat/bin/behat'.format(env.workspace)): if not os.path.exists('{}/tests/behat/bin/behat'.format(env.workspace)):
dk_run(service, user='root', dk_run(service, user='root',
cmd='chown -R {}:{} ../../tests'.format(env.apache_userid, cmd='chown -R {}:{} {}/tests'.format(env.apache_userid,
env.local_userid)) env.local_userid,
env.code_workspace))
dk_run( dk_run(
service, service,
cmd='cd {}/tests/behat && composer install'.format(workspace)) cmd='cd {}/tests/behat && composer install'.format(workspace))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment