From 545c3604531e7bf56a8b51458b4c09b4d341e61f Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 5 Sep 2018 11:38:07 +0200 Subject: [PATCH] [FrameworkBundle] fix test when intl is disabled --- .../Tests/DependencyInjection/ConfigurationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php index 6e762d6c9b..08549f2c2a 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php @@ -189,7 +189,7 @@ class ConfigurationTest extends TestCase 'enabled' => !class_exists(FullStack::class), 'fallbacks' => array('en'), 'logging' => false, - 'formatter' => 'translator.formatter.default', + 'formatter' => \class_exists('MessageFormatter') ? 'translator.formatter.default' : 'translator.formatter.symfony', 'paths' => array(), 'default_path' => '%kernel.project_dir%/translations', ),