Skip to content

Commit 4f61555

Browse files
committed
move asset dir definition
1 parent aae89de commit 4f61555

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/_bootstrap.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
define('PIMCORE_KERNEL_CLASS', '\Dachcom\Codeception\App\TestAppKernel');
1515
define('PIMCORE_TEST', true);
1616

17-
# we need the real asset directory to also test asset protection via acceptance tests!
18-
define('PIMCORE_ASSET_DIRECTORY', PIMCORE_PROJECT_ROOT . '/web/var/assets');
1917

2018
Bootstrap::setProjectRoot();
2119
Bootstrap::bootstrap();
@@ -24,6 +22,9 @@
2422
Autoload::addNamespace('Dachcom\Codeception', __DIR__ . '/_support');
2523
Autoload::addNamespace('Pimcore\Model\DataObject', sprintf('%s/_output/var/classes/DataObject', $bundleTestPath));
2624

25+
# we need the real asset directory to also test asset protection via acceptance tests!
26+
define('PIMCORE_ASSET_DIRECTORY', PIMCORE_PROJECT_ROOT . '/web/var/assets');
27+
2728
if (!defined('TESTS_PATH')) {
2829
define('TESTS_PATH', $bundleTestPath);
2930
}

0 commit comments

Comments
 (0)