Codeception / Codeception/module-doctrine

haveFakeRepository does not work for several repositories

未关闭
#9 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
4
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先阅读 src/Codeception/Module/Doctrine2.php 的第 394-405 行,并追踪 haveFakeRepository 如何创建或注册 fake repository。使用两个 repository 重现报告的情况,然后验证创建一个 fake repository 不再替换其他现有的 repository。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
testing-qa
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。