aboutsummaryrefslogtreecommitdiffstats
path: root/tests/net/maildir/maildirStoreTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/net/maildir/maildirStoreTest.cpp')
-rw-r--r--tests/net/maildir/maildirStoreTest.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/net/maildir/maildirStoreTest.cpp b/tests/net/maildir/maildirStoreTest.cpp
index 34e8249c..7e0ee39a 100644
--- a/tests/net/maildir/maildirStoreTest.cpp
+++ b/tests/net/maildir/maildirStoreTest.cpp
@@ -456,8 +456,10 @@ public:
VASSERT("Before", !store->getFolder(fpath() / "Folder" / "NewFolder")->exists());
- VASSERT_NO_THROW("Creation", store->getFolder(fpath() / "Folder" / "NewFolder")->
- create(vmime::net::folder::TYPE_CONTAINS_MESSAGES));
+ vmime::net::folderAttributes attribs;
+ attribs.setType(vmime::net::folderAttributes::TYPE_CONTAINS_MESSAGES);
+
+ VASSERT_NO_THROW("Creation", store->getFolder(fpath() / "Folder" / "NewFolder")->create(attribs));
VASSERT("After", store->getFolder(fpath() / "Folder" / "NewFolder")->exists());