Skip to content

Commit 6589493

Browse files
committed
fix: Make Testboostrapper compatible with the bare platform code
1 parent bfe3eb3 commit 6589493

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rootfs/opt/share/shopware/tests/TestBootstrapper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
$projectDir = $_SERVER['SHOPWARE_BUILD_DIR'];
66
if (is_readable($projectDir . '/vendor/shopware/core/TestBootstrapper.php')) {
77
require $projectDir . '/vendor/shopware/core/TestBootstrapper.php';
8+
if (is_readable($projectDir . '/src/Core/TestBootstrapper.php')) {
9+
require $projectDir . '/src/Core/TestBootstrapper.php';
810
} elseif (is_readable(__DIR__ . '/TestBootstrapperFallback.php')) {
911
// For old Shopware versions which do not have the TestBootstrapper we manually need
1012
// to set the kernel class

0 commit comments

Comments
 (0)