8000 Fix validation configuration default test case · symfony/symfony@364288c · GitHub
[go: up one dir, main page]

Skip to content

Commit 364288c

Browse files
committed
Fix validation configuration default test case
1 parent d5b88eb commit 364288c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Symfony\Component\Config\Definition\Processor;
1919
use Symfony\Component\Lock\Store\SemaphoreStore;
2020
use Symfony\Component\Messenger\MessageBusInterface;
21+
use Symfony\Component\Validator\Validation;
2122

2223
class ConfigurationTest extends TestCase
2324
{
@@ -251,15 +252,15 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor
251252
),
252253
),
253254
'messenger' => array(
254-
'enabled' => !class_exists(FullStack::class) && class_exists(MessageBusInterface::class),
255+
'enabled' => !class_exists(FullStack::class),
255256
'routing' => array(),
256257
'middlewares' => array(
257258
'doctrine_transaction' => array(
258259
'enabled' => false,
259260
'entity_manager_name' => null,
260261
),
261262
'validation' => array(
262-
'enabled' => false,
263+
'enabled' => !class_exists(FullStack::class),
263264
),
264265
),
265266
),

0 commit comments

Comments
 (0)
0