Codeception / Codeception/module-db

haveInDatabase insert value to table with 1 column

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

描述

Hello! I have in my postgres DB table with 1 serial column (id) and not able to insert a row into this table in my test. I could insert a row into any other table that has more than 1 column, but not into the table that has the only id column. Is it possible, maybe with another method?

贡献指南

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

调研方向

从 haveInDatabase 入口点开始,使用一个仅包含 serial id 列的表,在 PostgreSQL 上重现报告的故障。检查现有的数据库测试中关于插入行为的部分;当这样的行可以成功插入,并且该行为由回归测试覆盖时,即表示完成。

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

评估

技术栈
php, postgresql
领域
databases, testing
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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