Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4486734

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
1818
use Symfony\Component\Config\Definition\Processor;
1919
use Symfony\Component\Lock\Store\SemaphoreStore;
20-
use Symfony\Component\Messenger\MessageBusInterface;
20+
use Symfony\Component\Validator\Validation;
2121

2222
class ConfigurationTest extends TestCase
2323
{
@@ -251,15 +251,15 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor
251251
),
252252
),
253253
'messenger' => array(
254-
'enabled' => !class_exists(FullStack::class) && class_exists(MessageBusInterface::class),
254+
'enabled' => !class_exists(FullStack::class),
255255
'routing' => array(),
256256
'middlewares' => array(
257257
'doctrine_transaction' => array(
258258
'enabled' => false,
259259
'entity_manager_name' => null,
260260
),
261261
'validation' => array(
262-
'enabled' => false,
262+
'enabled' => !class_exists(FullStack::class),
263263
),
264264
),
265265
),

0 commit comments

Comments
 (0)