Codeception / module-doctrine

Next gen Doctrine module for Codeception
MIT License
2 stars 1 forks source link

haveFakeRepository does not work for several repositories #9

Open tasselchof opened 2 years ago

tasselchof commented 2 years ago

https://github.com/Codeception/module-doctrine2/blob/701e7e4a19ab4fa40bd89ced9a0cc6af989e10dc/src/Codeception/Module/Doctrine2.php#L394-L405

When fake repository created here it seems like all existing at this moment repositories replaced. Is there any specific reason for this? As a result you can't have two fake repositories.