summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/QA/StorageTest/VCardFileStorageTest.cpp')
-rw-r--r--Swiften/QA/StorageTest/VCardFileStorageTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/QA/StorageTest/VCardFileStorageTest.cpp b/Swiften/QA/StorageTest/VCardFileStorageTest.cpp
index 9704409..694e13b 100644
--- a/Swiften/QA/StorageTest/VCardFileStorageTest.cpp
+++ b/Swiften/QA/StorageTest/VCardFileStorageTest.cpp
@@ -39,9 +39,9 @@ class VCardFileStorageTest : public CppUnit::TestFixture {
vcard->setFullName("Alice In Wonderland");
vcard->setEMail("alice@wonderland.lit");
- testling->setVCard(JID("alice@wonderland.lit"), vcard);
+ testling->setVCard(JID("alice@wonderland.lit/TeaRoom"), vcard);
- boost::filesystem::path vcardFile(vcardsPath / "alice@wonderland.lit.xml");
+ boost::filesystem::path vcardFile(vcardsPath / "alice@wonderland.lit%2fTeaRoom.xml");
CPPUNIT_ASSERT(boost::filesystem::exists(vcardFile));
ByteArray data;
data.readFromFile(vcardFile.string());