File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,12 +12,9 @@ class DDC3346Test extends \Doctrine\Tests\OrmFunctionalTestCase
1212{
1313 public function setUp ()
1414 {
15- parent :: setUp ( );
15+ $ this -> useModelSet ( ' ddc3346 ' );
1616
17- $ this ->setUpEntitySchema (array (
18- DDC3346Author::CLASSNAME ,
19- DDC3346Article::CLASSNAME ,
20- ));
17+ parent ::setUp ();
2118 }
2219
2320 public function testFindOneWithEagerFetchWillNotHydrateLimitedCollection ()
Original file line number Diff line number Diff line change @@ -193,6 +193,10 @@ abstract class OrmFunctionalTestCase extends OrmTestCase
193193 'Doctrine\Tests\Models\DDC2504\DDC2504ChildClass ' ,
194194 'Doctrine\Tests\Models\DDC2504\DDC2504OtherClass ' ,
195195 ),
196+ 'ddc3346 ' => array (
197+ 'Doctrine\Tests\Models\DDC3346\DDC3346Author ' ,
198+ 'Doctrine\Tests\Models\DDC3346\DDC3346Article ' ,
199+ ),
196200 'quote ' => array (
197201 'Doctrine\Tests\Models\Quote\Address ' ,
198202 'Doctrine\Tests\Models\Quote\Group ' ,
@@ -399,6 +403,11 @@ protected function tearDown()
399403 $ conn ->executeUpdate ('DELETE FROM cache_country ' );
400404 }
401405
406+ if (isset ($ this ->_usedModelSets ['ddc3346 ' ])) {
407+ $ conn ->executeUpdate ('DELETE FROM ddc3346_articles ' );
408+ $ conn ->executeUpdate ('DELETE FROM ddc3346_users ' );
409+ }
410+
402411 if (isset ($ this ->_usedModelSets ['quote ' ])) {
403412 $ conn ->executeUpdate ('DELETE FROM ' . $ platform ->quoteIdentifier ("quote-address " ));
404413 $ conn ->executeUpdate ('DELETE FROM ' . $ platform ->quoteIdentifier ("quote-group " ));
You can’t perform that action at this time.
0 commit comments