Codeception / Codeception/module-mongodb

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

Ouverte
#3 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
PHP
Étoiles
2
Forks
11
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.