diff options
Diffstat (limited to 'tests/mailsynctest.cpp')
-rw-r--r-- | tests/mailsynctest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mailsynctest.cpp b/tests/mailsynctest.cpp index 6658d8b..31e40c4 100644 --- a/tests/mailsynctest.cpp +++ b/tests/mailsynctest.cpp | |||
@@ -46,7 +46,9 @@ void MailSyncTest::initTestCase() | |||
46 | VERIFYEXEC(Store::create(resource)); | 46 | VERIFYEXEC(Store::create(resource)); |
47 | 47 | ||
48 | mResourceInstanceIdentifier = resource.identifier(); | 48 | mResourceInstanceIdentifier = resource.identifier(); |
49 | mCapabilities = resource.getProperty("capabilities").value<QByteArrayList>(); | 49 | //Load the capabilities |
50 | resource = Store::readOne<Sink::ApplicationDomain::SinkResource>(Sink::Query{resource}); | ||
51 | mCapabilities = resource.getCapabilities(); | ||
50 | } | 52 | } |
51 | 53 | ||
52 | void MailSyncTest::cleanup() | 54 | void MailSyncTest::cleanup() |