Codeception / Codeception/module-mongodb

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

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
2
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.