diff --git a/tester/offeranswer_tester.c b/tester/offeranswer_tester.c index 5a70a42ba..2df43bbdf 100644 --- a/tester/offeranswer_tester.c +++ b/tester/offeranswer_tester.c @@ -35,7 +35,7 @@ static int get_codec_position(const MSList *l, const char *mime_type, int rate){ /*check basic things about codecs at startup: order and enablement*/ static void start_with_no_config(void){ - LinphoneCore *lc=linphone_factory_create_core(linphone_factory_get(), NULL, NULL, NULL); + LinphoneCore *lc=linphone_factory_create_core_2(linphone_factory_get(), NULL, NULL, NULL, NULL, system_context); const MSList *codecs=linphone_core_get_audio_codecs(lc); int opus_codec_pos; int speex_codec_pos=get_codec_position(codecs, "speex", 8000); diff --git a/tester/vcard_tester.c b/tester/vcard_tester.c index 3d7172e2b..23a897c13 100644 --- a/tester/vcard_tester.c +++ b/tester/vcard_tester.c @@ -358,7 +358,7 @@ end: } static void friends_sqlite_store_lot_of_friends(void) { - LinphoneCore* lc = linphone_factory_create_core(linphone_factory_get(), NULL, NULL, NULL); + LinphoneCore* lc = linphone_factory_create_core_2(linphone_factory_get(), NULL, NULL, NULL, NULL, system_context); sqlite3 *db; int i; char* errmsg = NULL; @@ -428,7 +428,7 @@ static void friends_sqlite_store_lot_of_friends(void) { } static void friends_sqlite_find_friend_in_lot_of_friends(void) { - LinphoneCore* lc = linphone_factory_create_core(linphone_factory_get(), NULL, NULL, NULL); + LinphoneCore* lc = linphone_factory_create_core_2(linphone_factory_get(), NULL, NULL, NULL, NULL, system_context); sqlite3 *db; int i; char* errmsg = NULL;