summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-09-11 19:35:45 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-09-11 20:03:09 -0300
commita5742807539c66577f48d6cfbb411046c17c1978 (patch)
treed6e15acbb8f62272e46a0885497507340a6e6f2f /server
parent4856c49e93a4ba67055c0dc3e8b4cdbaeabc4940 (diff)
[tests] use addCleanup to ensure db deletion
Test case has a addCleanup method, which provides a way to clean resources up and express this need as soon as you create. We are now using it to simplify some logic on database deletion during the test and to make sure that as soon as it gets created a cleanup is there to delete after.
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions