diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-03-22 21:51:36 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-03-22 21:51:36 (GMT) |
commit | 2e86507010e1f8754049a3bb37ce9041bb19d870 (patch) | |
tree | ecd3b8ed0b33c12bf123f4042af41fbc2d245e4b /Swift/Controllers/UnitTest/RosterControllerTest.cpp | |
parent | 0c377fa93ffd8538da9e71ddc71d4e8c07600a22 (diff) | |
download | swift-2e86507010e1f8754049a3bb37ce9041bb19d870.zip swift-2e86507010e1f8754049a3bb37ce9041bb19d870.tar.bz2 |
Fixing up the unit tests again. Oops.
Diffstat (limited to 'Swift/Controllers/UnitTest/RosterControllerTest.cpp')
-rw-r--r-- | Swift/Controllers/UnitTest/RosterControllerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/UnitTest/RosterControllerTest.cpp b/Swift/Controllers/UnitTest/RosterControllerTest.cpp index bfd98ac..80b2284 100644 --- a/Swift/Controllers/UnitTest/RosterControllerTest.cpp +++ b/Swift/Controllers/UnitTest/RosterControllerTest.cpp @@ -64,7 +64,7 @@ class RosterControllerTest : public CppUnit::TestFixture std::vector<String> groups; groups.push_back("testGroup1"); groups.push_back("testGroup2"); - xmppRoster_->addContact(JID("test@testdomain.com/bob"), "name", groups); + xmppRoster_->addContact(JID("test@testdomain.com/bob"), "name", groups, RosterItemPayload::Both); CPPUNIT_ASSERT_EQUAL(2, (int)treeWidgetFactory_->getGroups().size()); //CPPUNIT_ASSERT_EQUAL(String("Bob"), xmppRoster_->getNameForJID(JID("foo@bar.com"))); |