소스 검색

Fixing container test.

Jonathan H. Wage 14 년 전
부모
커밋
cc3ff12bf8
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/DoctrineBundle/Tests/ContainerTest.php
  2. 1 1
      src/Symfony/Bundle/DoctrineMongoDBBundle/Tests/ContainerTest.php

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Tests/ContainerTest.php

@@ -34,7 +34,7 @@ class ContainerTest extends TestCase
         $dumper = new PhpDumper($container);
         $code = $dumper->dump(array('class' => 'DoctrineBundleTestsProjectServiceContainer'));
         eval(str_replace('<?php', null, $code));
-        return new \ProjectServiceContainer;
+        return new \DoctrineBundleTestsProjectServiceContainer;
     }
 
     public function testContainer()

+ 1 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/Tests/ContainerTest.php

@@ -33,7 +33,7 @@ class ContainerTest extends TestCase
         $dumper = new PhpDumper($container);
         $code = $dumper->dump(array('class' => 'DoctrineMongoDBBundleTestsProjectServiceContainer'));
         eval(str_replace('<?php', null, $code));
-        return new \ProjectServiceContainer;
+        return new \DoctrineMongoDBBundleTestsProjectServiceContainer;
     }
 
     public function testContainer()