Codeception / Codeception/module-mongodb

Is it possible to use this without using the dump functionality?

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

描述

Dear,

We would like to use the action functionality (dontSeeInCollection, ...) but we are not using the dump functionality.
When we run the tests, we get an error.

`In MongoDb.php line 120:
[Codeception\Exception\ModuleConfigException]
MongoDb module is not configured!
File with dump doesn't exist.
Please, check path for dump file: tests/_data/dump`

At the moment dump_type is required. Would it be possible to make this optional or maybe create a MongoDb::DUMP_TYPE_NONE?

We would also do the clean up after the tests by our selfs.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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