Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\Cache\Adapter\ApcuAdapter;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
use Symfony\Component\DependencyInjection\Attribute\WhenNot;
use Symfony\Component\HttpKernel\KernelInterface;

class BundleInitializationTest extends KernelTestCase
Expand Down Expand Up @@ -279,6 +280,9 @@ private function bootWithConfig(array $configs): void
}

// hack to assert the version of the bundle
if (class_exists(WhenNot::class)) {
$kernel->addTestConfig(__DIR__ . '/Resources/config/base_sf72.yaml');
}
if (class_exists(ConsoleProfilerListener::class)) {
$kernel->addTestConfig(__DIR__ . '/Resources/config/base_sf64.yaml');
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework:
trusted_hosts: ''
trusted_proxies: ''
trusted_headers: ''
trust_x_sendfile_type_header: true

Loading