tests/bindingstest.cpp
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Wed May 23 10:57:23 CEST 2012
tests/bindingstest.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d930f437dd9318154998acf46d013b1cce4b87f2
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed May 23 09:56:46 2012 +0100
Use the correct new enum value name in the bindingstest as well, and correct Cuype -> Cutype
diff --git a/tests/bindingstest.cpp b/tests/bindingstest.cpp
index 22367cd..9832ed8 100644
--- a/tests/bindingstest.cpp
+++ b/tests/bindingstest.cpp
@@ -98,7 +98,7 @@ void setIncidence(T &ev)
reflist.push_back(Kolab::ContactReference(Kolab::ContactReference::EmailReference, "mail2", "name2"));
attendee.setDelegatedTo(reflist);
attendee.setDelegatedFrom(reflist);
- attendee.setCuype(Kolab::Resource);
+ attendee.setCutype(Kolab::CutypeResource);
ev.setAttendees(std::vector<Kolab::Attendee>() << attendee << attendee);
@@ -282,7 +282,7 @@ void BindingsTest::journalCompletness()
reflist.push_back(Kolab::ContactReference(Kolab::ContactReference::EmailReference, "mail2", "name2"));
attendee.setDelegatedTo(reflist);
attendee.setDelegatedFrom(reflist);
- attendee.setCuype(Kolab::Resource);
+ attendee.setCutype(Kolab::CutypeResource);
ev.setAttendees(std::vector<Kolab::Attendee>() << attendee << attendee);
More information about the commits
mailing list