diff --git a/ibexa/behat/5.0/manifest.json b/ibexa/behat/5.0/manifest.json index 81a5e45c..12fdec85 100644 --- a/ibexa/behat/5.0/manifest.json +++ b/ibexa/behat/5.0/manifest.json @@ -11,6 +11,7 @@ "behat_ibexa_commerce.yaml": "behat_ibexa_commerce.yaml" }, "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" + "config/": "%CONFIG_DIR%/", + "tests/": "tests/" } } diff --git a/ibexa/behat/5.0/tests/bootstrap.php b/ibexa/behat/5.0/tests/bootstrap.php new file mode 100644 index 00000000..48f417b1 --- /dev/null +++ b/ibexa/behat/5.0/tests/bootstrap.php @@ -0,0 +1,15 @@ +bootEnv(dirname(__DIR__) . '/.env'); +} + +if ($_SERVER['APP_DEBUG']) { + umask(0000); +} diff --git a/ibexa/behat/6.0/manifest.json b/ibexa/behat/6.0/manifest.json index 81a5e45c..12fdec85 100644 --- a/ibexa/behat/6.0/manifest.json +++ b/ibexa/behat/6.0/manifest.json @@ -11,6 +11,7 @@ "behat_ibexa_commerce.yaml": "behat_ibexa_commerce.yaml" }, "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" + "config/": "%CONFIG_DIR%/", + "tests/": "tests/" } } diff --git a/ibexa/behat/6.0/tests/bootstrap.php b/ibexa/behat/6.0/tests/bootstrap.php new file mode 100644 index 00000000..48f417b1 --- /dev/null +++ b/ibexa/behat/6.0/tests/bootstrap.php @@ -0,0 +1,15 @@ +bootEnv(dirname(__DIR__) . '/.env'); +} + +if ($_SERVER['APP_DEBUG']) { + umask(0000); +}