[folks] Ensure that our test self contact has an identifier.



commit 1d5106a563efafb751a44ba2727195033edd05b5
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Oct 5 15:08:15 2011 -0700

    Ensure that our test self contact has an identifier.

 .../telepathy/contactlist/contact-list-manager.c   |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/lib/telepathy/contactlist/contact-list-manager.c b/tests/lib/telepathy/contactlist/contact-list-manager.c
index 1724b5c..5627989 100644
--- a/tests/lib/telepathy/contactlist/contact-list-manager.c
+++ b/tests/lib/telepathy/contactlist/contact-list-manager.c
@@ -1817,6 +1817,8 @@ tp_test_contact_list_manager_set_contact_info (TpTestContactListManager *self,
     TP_TEST_CONTACT_LIST_STORED];
   TpTestContactDetails *d = ensure_contact (self, self->priv->conn->self_handle,
       NULL);
+  d->id = g_strdup (tp_handle_inspect (self->priv->contact_repo,
+        self->priv->conn->self_handle));
   GPtrArray *old = d->contact_info;
 
   /* FIXME: if stored list hasn't been retrieved yet, queue the change for



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]