Codeception / Codeception/module-mongodb

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

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.