Fixed an issue in CPIM tester

This commit is contained in:
Sylvain Berfini 2018-04-04 15:42:31 +02:00
parent f4d4423fb1
commit f6f3557d88

View file

@ -428,7 +428,7 @@ static void cpim_chat_message_modifier_base(bool_t use_multipart) {
marieMessage->send();
BC_ASSERT_TRUE(wait_for(pauline->lc,marie->lc,&pauline->stat.number_of_LinphoneMessageReceived,1));
BC_ASSERT_STRING_EQUAL(marieMessage->getInternalContent().getContentType().asString().c_str(), ""); // Internal content is cleaned after message is sent or received
BC_ASSERT_TRUE(marieMessage->getInternalContent().getContentType().isEmpty()); // Internal content is cleaned after message is sent or received
BC_ASSERT_PTR_NOT_NULL(pauline->stat.last_received_chat_message);
if (pauline->stat.last_received_chat_message != NULL) {