Skip to content

Commit

Permalink
tests: cleanup mock server tests (#815)
Browse files Browse the repository at this point in the history
* tests: cleanup mock server tests

* Removes calls to the deprecated method assert.fail(Error)
* Adds a Database.close() call to all test methods to check of session leaks
* Adds Transaction.commit() calls where these were missing to prevent session leaks
* Compacts several test cases by using assert.ifError and sending errors directly
  to the done function.

* fix: remove unnecessary comment
  • Loading branch information
olavloite committed Jan 28, 2020
1 parent a46b3da commit f9af78a
Showing 1 changed file with 113 additions and 129 deletions.

0 comments on commit f9af78a

Please sign in to comment.