소스 검색

Fixed unit tests

Deni 13 년 전
부모
커밋
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();