Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ibexa/behat/5.0/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"behat_ibexa_commerce.yaml": "behat_ibexa_commerce.yaml"
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
}
}
15 changes: 15 additions & 0 deletions ibexa/behat/5.0/tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

Comment thread
bnowak marked this conversation as resolved.
declare(strict_types=1);

use Symfony\Component\Dotenv\Dotenv;

require_once dirname(__DIR__) . '/vendor/autoload.php';

if (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
}

if ($_SERVER['APP_DEBUG']) {
umask(0000);
}
3 changes: 2 additions & 1 deletion ibexa/behat/6.0/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"behat_ibexa_commerce.yaml": "behat_ibexa_commerce.yaml"
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
"config/": "%CONFIG_DIR%/",
"tests/": "tests/"
}
}
15 changes: 15 additions & 0 deletions ibexa/behat/6.0/tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

use Symfony\Component\Dotenv\Dotenv;

Comment thread
bnowak marked this conversation as resolved.
require_once dirname(__DIR__) . '/vendor/autoload.php';

if (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
}

if ($_SERVER['APP_DEBUG']) {
umask(0000);
}
Loading