Codeception / Codeception/module-doctrine
haveFakeRepository does not work for several repositories
- Langage dominant
- PHP
- Étoiles
- 4
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- php
- Domaine
- testing-qa
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100