module-db
module-db copied to clipboard
DB module for Codeception
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...
#### Problem Currently, all records, added by `haveInDatabase()` method during test, are automatically removed after the end of the test. Although this is a documented behaviour, for me it adds...
#### Problem Currently we have configuration params `cleanup` and `skip_cleanup_if_failed`. Despite their names sound similar, they are responsible for completely different things: `cleanup` controls the database re-creation before each test,...
I want use this codeception module on project where we run test cases inside database transactions. I already did some hacks on my project to achieve that; and also i...
Closes #67 Closes #68 **WARNING**: BC break!
Fix for this error: ``` In Db.php line 667: Malformed UTF-8 characters, possibly incorrectly encoded ``` The error is triggered when deletion of a record fails, and the affected record...
Our tables have PK sequences with different names than the ones postgres generates automatically. Because of that the lastInsertId() call inside haveInDatabase() generates a silent error. When you use the...