Deni 13 лет назад
Родитель
Сommit
be884836db
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Tests/DependencyInjection/JMSSerializerExtensionTest.php

+ 1 - 0
Tests/DependencyInjection/JMSSerializerExtensionTest.php

@@ -61,6 +61,7 @@ class JMSSerializerExtensionTest extends \PHPUnit_Framework_TestCase
         $container->setParameter('kernel.bundles', array());
         $container->set('annotation_reader', new AnnotationReader());
         $container->set('service_container', $container);
+        $container->set('translator', $this->getMock('Symfony\\Component\\Translation\\TranslatorInterface'));
         $extension->load(array(array()), $container);
 
         $bundle = new JMSSerializerBundle();