virtual COServerResponse GetDefaultPrefix(std::string *ServerPrefix) {};
virtual COServerResponse AddContact(std::string Location, std::string Data) {};
virtual COServerResponse EditContact(std::string Location, std::string Data) {};
- virtual COServerResponse DeleteContact(std::string Location, std::string EntityTag) {};
+ virtual COServerResponse DeleteContact(std::string Location) {};
virtual COServerResponse GetServerEntityTagValue(std::string Location) {};
virtual COServerResponse GetContact(std::string Location, std::string *PageData) {};
virtual COContactList GetContactList(std::string SyncToken) {};
}
-COServerResponse FakeConnectionObject::DeleteContact(std::string Location, std::string EntityTag){
+COServerResponse FakeConnectionObject::DeleteContact(std::string Location){
COServerResponse DeleteContactResult;
std::string GetDefaultPrefix();
COServerResponse AddContact(std::string Location, std::string Data);
COServerResponse EditContact(std::string Location, std::string Data);
- COServerResponse DeleteContact(std::string Location, std::string EntityTag);
+ COServerResponse DeleteContact(std::string Location);
COServerResponse GetServerEntityTagValue(std::string Location);
COServerResponse GetContact(std::string Location);
COContactList GetContactList(std::string SyncToken);
FakeConnection.TestSessionCode = 0;
FakeConnection.TestResultMessage = "";
- COServerResponse DeleteContactResult = FakeConnection.DeleteContact("testfile.vcf", "a23124sfadfdvxc1646541bsdfaf");
+ COServerResponse DeleteContactResult = FakeConnection.DeleteContact("testfile.vcf");
EXPECT_EQ(COREQUEST_OK, DeleteContactResult.RequestResult);
EXPECT_EQ("", DeleteContactResult.EntityTag);
FakeConnection.TestSessionCode = 0;
FakeConnection.TestResultMessage = "";
- DeleteContactResult = FakeConnection.DeleteContact("testfile.vcf", "asf84sa484saf614as64asvada4s6fas");
+ DeleteContactResult = FakeConnection.DeleteContact("testfile.vcf");
EXPECT_EQ(COREQUEST_OK, DeleteContactResult.RequestResult);
EXPECT_EQ("", DeleteContactResult.EntityTag);