summaryrefslogtreecommitdiffstats
path: root/tests/mailtest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-26 14:23:23 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-26 14:23:23 +0200
commitcb81ef8f69f6a48ed505f5aef50c62a10aa67283 (patch)
treee12b398c1a7f054d62bf3e9a26b8bb7b18b939f7 /tests/mailtest.cpp
parentcf487248df311bd055844ce44786e28ea5aa7c2c (diff)
downloadsink-cb81ef8f69f6a48ed505f5aef50c62a10aa67283.tar.gz
sink-cb81ef8f69f6a48ed505f5aef50c62a10aa67283.zip
Remove the store from the resource side.
...and shutdown the resource after we removed all data.
Diffstat (limited to 'tests/mailtest.cpp')
-rw-r--r--tests/mailtest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mailtest.cpp b/tests/mailtest.cpp
index 541656f..b9d496d 100644
--- a/tests/mailtest.cpp
+++ b/tests/mailtest.cpp
@@ -47,8 +47,7 @@ void MailTest::initTestCase()
47 47
48void MailTest::cleanup() 48void MailTest::cleanup()
49{ 49{
50 VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier)); 50 VERIFYEXEC(Store::removeDataFromDisk(mResourceInstanceIdentifier));
51 removeResourceFromDisk(mResourceInstanceIdentifier);
52} 51}
53 52
54void MailTest::init() 53void MailTest::init()