aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/contact-run-until-ready.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/contact-run-until-ready.c b/tests/contact-run-until-ready.c
index 1d263dd05..13fad63a7 100644
--- a/tests/contact-run-until-ready.c
+++ b/tests/contact-run-until-ready.c
@@ -13,7 +13,7 @@ callback (gpointer data)
EmpathyContact *contact;
EmpathyContactReady ready_flags;
- factory = empathy_contact_factory_new ();
+ factory = empathy_contact_factory_dup_singleton ();
account = mc_account_lookup ("jabber0");
contact = empathy_contact_factory_get_from_handle (factory, account, 2);