From bc0a8acd15c51fde06fd59dc7eb324287d93d32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 11 Sep 2010 23:39:29 +0200 Subject: Fixed VCardFileStorageTest. diff --git a/Swiften/QA/StorageTest/VCardFileStorageTest.cpp b/Swiften/QA/StorageTest/VCardFileStorageTest.cpp index 694e13b..cab25b8 100644 --- a/Swiften/QA/StorageTest/VCardFileStorageTest.cpp +++ b/Swiften/QA/StorageTest/VCardFileStorageTest.cpp @@ -37,7 +37,6 @@ class VCardFileStorageTest : public CppUnit::TestFixture { std::auto_ptr testling(createTestling()); VCard::ref vcard(new VCard()); vcard->setFullName("Alice In Wonderland"); - vcard->setEMail("alice@wonderland.lit"); testling->setVCard(JID("alice@wonderland.lit/TeaRoom"), vcard); @@ -52,12 +51,10 @@ class VCardFileStorageTest : public CppUnit::TestFixture { std::auto_ptr testling(createTestling()); VCard::ref vcard(new VCard()); vcard->setFullName("Alice In Wonderland"); - vcard->setEMail("alice@wonderland.lit"); testling->setVCard(JID("alice@wonderland.lit"), vcard); VCard::ref result = testling->getVCard(JID("alice@wonderland.lit")); CPPUNIT_ASSERT_EQUAL(String("Alice In Wonderland"), result->getFullName()); - CPPUNIT_ASSERT_EQUAL(String("alice@wonderland.lit"), result->getEMail()); } void testGetVCard_FileDoesNotExist() { -- cgit v0.10.2-6-g49f6