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

Skip to content

Commit 9efb3b8

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
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\Validator\ValidatorInterface;
2122

2223
class ConfigurationTest extends TestCase
2324
{
@@ -259,7 +260,7 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor
259260
'entity_manager_name' => null,
260261
),
261262
'validation' => array(
262-
'enabled' => false,
263+
'enabled' => !class_exists(FullStack::class) && class_exists(ValidatorInterface::class),
263264
),
264265
),
265266
),

0 commit comments

Comments
 (0)
0