diff --git a/tests/e2e/end-to-end.tests.js b/tests/e2e/end-to-end.tests.js
index <HASH>..<HASH> 100644
--- a/tests/e2e/end-to-end.tests.js
+++ b/tests/e2e/end-to-end.tests.js
@@ -93,6 +93,7 @@ Test('end to end tests', function(t) {
           Object.keys(require.cache).forEach(function(key) {
             delete require.cache[key]
           })
+          restore(Mongoose)
 
           t.ok(true, 'DONE')
         })
bugfix: prevent test errors between runs due to residual data in db (#<I>)