fixed gbs build 10/77910/2
authorAndrey Klimenko <and.klimenko@samsung.com>
Fri, 1 Jul 2016 12:37:15 +0000 (15:37 +0300)
committerAndrey Klimenko <and.klimenko@samsung.com>
Mon, 4 Jul 2016 07:10:50 +0000 (00:10 -0700)
Change-Id: I2cc5ee005a854493966b18c07894ad3d2366c83a
Signed-off-by: Andrey Klimenko <and.klimenko@samsung.com>
test/TC/TestContactManager.cpp

index 1d88437..e9130d3 100644 (file)
@@ -51,7 +51,7 @@ TEST_F( TestContactManager, FindNameSasha )
     const std::string strName = "Sasha";
 
     m_ContactId = Msg::Test::ContactUtils::getInst().createContact(strName, strNumber);
-    auto item = m_ContactManager.getContactPersonAddress(strNumber);
+    auto item = m_ContactManager.getContactAddress(strNumber);
     std::string result = item->getDispName();
 
     testing::Test::RecordProperty("Number", strNumber.c_str());
@@ -69,7 +69,7 @@ TEST_F( TestContactManager, FindNameVova )
 
     m_ContactId = Msg::Test::ContactUtils::getInst().createContact(strName, strNumber);
 
-    auto item = m_ContactManager.getContactPersonAddress(strNumber);
+    auto item = m_ContactManager.getContactAddress(strNumber);
     std::string result = item->getDispName();
 
     testing::Test::RecordProperty("Number", strNumber.c_str());
@@ -87,7 +87,7 @@ TEST_F( TestContactManager, TestGetNameById )
 
     m_ContactId = Msg::Test::ContactUtils::getInst().createContact(strName, strNumber);
 
-    auto item = m_ContactManager.getContactPersonAddress(strNumber);
+    auto item = m_ContactManager.getContactAddress(strNumber);
     std::string result1 = item->getDispName();
 
     std::string result2 = Msg::Test::ContactUtils::getInst().getNameById(m_ContactId);