Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Clean up test databases in tearDown() #351

Open
jmikola opened this Issue · 1 comment

2 participants

Jeremy Mikola Maciej Malarz
Jeremy Mikola
Owner

Most tests do not need to use custom collection and database names. For those that do, they should ensure the database is cleaned up after test execution (e.g. similar to how BaseTest drops collections in the doctrine_odm_tests DB).

Jeremy Mikola jmikola was assigned
Jeremy Mikola jmikola referenced this issue from a commit
Jeremy Mikola jmikola Use default database for MODM140Test
Custom databases do not get cleaned up by BaseTest (see #351).
3f393f6
Florian Semm floriansemm referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Maciej Malarz
Collaborator

Only "doctrine_odm_tests" database is left after running test suite which is good ticket wise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.