Commit 1fb708a7 authored by jehan's avatar jehan
Browse files

fix unit test

parent 8d3514a2
...@@ -4265,10 +4265,10 @@ static void group_chat_lime_x3dh_send_encrypted_file_with_or_without_text (bool_ ...@@ -4265,10 +4265,10 @@ static void group_chat_lime_x3dh_send_encrypted_file_with_or_without_text (bool_
const LinphoneAddress *confAddr = linphone_chat_room_get_conference_address(marieCr); const LinphoneAddress *confAddr = linphone_chat_room_get_conference_address(marieCr);
// Check that the chat room is correctly created on Pauline's side and that the participants are added // Check that the chat room is correctly created on Pauline's side and that the participants are added
LinphoneChatRoom *paulineCr = check_creation_chat_room_client_side(coresList, pauline, &initialPaulineStats, confAddr, initialSubject, 2, TRUE); LinphoneChatRoom *paulineCr = check_creation_chat_room_client_side(coresList, pauline, &initialPaulineStats, confAddr, initialSubject, 2, FALSE);
// Check that the chat room is correctly created on Chloe's side and that the participants are added // Check that the chat room is correctly created on Chloe's side and that the participants are added
LinphoneChatRoom *chloeCr = check_creation_chat_room_client_side(coresList, chloe, &initialChloeStats, confAddr, initialSubject, 2, TRUE); LinphoneChatRoom *chloeCr = check_creation_chat_room_client_side(coresList, chloe, &initialChloeStats, confAddr, initialSubject, 2, FALSE);
// Send encrypted file // Send encrypted file
if (with_text) { if (with_text) {
......
...@@ -870,7 +870,7 @@ static const char* random_phone_number(void) { ...@@ -870,7 +870,7 @@ static const char* random_phone_number(void) {
static char phone[11]; static char phone[11];
int i; int i;
phone[0] = '+'; phone[0] = '+';
srand (time(NULL)); srand ((unsigned int)time(NULL));
for (i = 1; i < 10; i++) { for (i = 1; i < 10; i++) {
phone[i] = '0' + rand() % 10; phone[i] = '0' + rand() % 10;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment