diff --git a/tester/log_collection_tester.c b/tester/log_collection_tester.c index b9c1835c5..4f18f1224 100644 --- a/tester/log_collection_tester.c +++ b/tester/log_collection_tester.c @@ -161,7 +161,7 @@ static void collect_files_filled() { LinphoneCoreManager* marie = setup(TRUE); char * filepath = linphone_core_compress_log_collection(marie->lc); CU_ASSERT_PTR_NOT_NULL(filepath); - CU_ASSERT_EQUAL(ms_time(0), check_file(filepath)); + CU_ASSERT_EQUAL(check_file(filepath), ms_time(0)); linphone_core_manager_destroy(marie); } @@ -171,7 +171,7 @@ static void collect_files_small_size() { linphone_core_set_log_collection_max_file_size(5000); filepath = linphone_core_compress_log_collection(marie->lc); CU_ASSERT_PTR_NOT_NULL(filepath); - CU_ASSERT_EQUAL(ms_time(0), check_file(filepath)); + CU_ASSERT_EQUAL(check_file(filepath), ms_time(0)); linphone_core_manager_destroy(marie); } @@ -182,7 +182,7 @@ static void collect_files_changing_size() { filepath = linphone_core_compress_log_collection(marie->lc); CU_ASSERT_PTR_NOT_NULL(filepath); - CU_ASSERT_EQUAL(ms_time(0), check_file(filepath)); + CU_ASSERT_EQUAL(check_file(filepath), ms_time(0)); linphone_core_set_log_collection_max_file_size(5000); // Generate some logs @@ -190,7 +190,7 @@ static void collect_files_changing_size() { filepath = linphone_core_compress_log_collection(marie->lc); CU_ASSERT_PTR_NOT_NULL(filepath); - CU_ASSERT_EQUAL(ms_time(0), check_file(filepath)); + CU_ASSERT_EQUAL(check_file(filepath), ms_time(0)); linphone_core_manager_destroy(marie); }