mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
fix test not unregistering, causing later problems on other tests
This commit is contained in:
parent
55a4b5a77e
commit
3497afd30e
2 changed files with 4 additions and 2 deletions
|
|
@ -389,7 +389,7 @@ LinphoneOnlineStatus linphone_friend_get_status(const LinphoneFriend *lf){
|
|||
break;
|
||||
case LinphonePresenceActivityOnline:
|
||||
/* Should not happen! */
|
||||
ms_warning("LinphonePresenceActivityOnline should not happen here!");
|
||||
/*ms_warning("LinphonePresenceActivityOnline should not happen here!");*/
|
||||
break;
|
||||
case LinphonePresenceActivityOffline:
|
||||
online_status = LinphoneStatusOffline;
|
||||
|
|
|
|||
|
|
@ -419,7 +419,9 @@ static void subscribe_presence_expired(){
|
|||
wait_for_list(lcs,NULL, 0, 11000);
|
||||
|
||||
BC_ASSERT_PTR_NULL(lf->insubs);
|
||||
|
||||
/*just make network reachable so that marie can unregister properly*/
|
||||
linphone_core_set_network_reachable(marie->lc, TRUE);
|
||||
BC_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_LinphoneRegistrationOk,2, 10000));
|
||||
linphone_core_manager_destroy(marie);
|
||||
linphone_core_manager_destroy(pauline1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue