Codeception / Codeception/module-doctrine
haveFakeRepository does not work for several repositories
- Dominant language
- PHP
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading src/Codeception/Module/Doctrine2.php at lines 394-405 and trace how haveFakeRepository creates or registers a fake repository. Reproduce the reported case with two repositories, then verify that creating one fake repository no longer replaces the other existing repositories.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100