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', ),