improves test performance on mongodb (#4862)

* improves test performance on mongodb

* Removes unused methdos
This commit is contained in:
Florent Vilmart
2018-06-29 17:09:51 -04:00
parent ec27bc7e8e
commit 7319aabf7a
10 changed files with 88 additions and 46 deletions

View File

@@ -658,7 +658,7 @@ class DatabaseController {
deleteEverything() {
this.schemaPromise = null;
return Promise.all([
this.adapter.deleteAllClasses(),
this.adapter.dropDatabase(),
this.schemaCache.clear()
]);
}