Doctrine2 module and option cleanup does not work
还没有人认领这个 Issue。
评估
调研方向
从 Codeception\Module\Doctrine2 第 174 行开始,跟踪功能性 Cest 测试如何在 __before() 中创建实体,并在 __after() 中预期进行清理。使用所描述的第二个测试场景重现活动事务异常;当第一个测试中的实体被移除且不出现 PDO 异常时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I have a functional cest test.
In __before() I create some entities and I assume they will be deleted during __after(), but it does not happen.
I dig a little and found that in Codeception\Module\Doctrine2 line 174 there is a PDO exception says "There is no active transaction". And when my second test is ran I entities from first test are still exist
- 主要语言
- PHP
- 星标
- 4
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Codeception/module-doctrine 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 38/100
-
难度 4/5 3-5 天 新手友好度 30/100
-
难度 4/5 3-5 天 新手友好度 35/100
Codeception/module-doctrine#2 · 1 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
-
难度 3/5 1-2 天 新手友好度 64/100
Codeception/module-doctrine#6 · 1 条评论 ·
查看 Codeception/module-doctrine 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
scanaislop/aislop#476 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
components-web-app/api-components-bundle#403 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
mollie/PrestaShop#1566 ·
维护者通常 1 天内回复