summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-26 17:03:10 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-27 13:39:12 +0200
commit6de9db8758f1c339f411aefb9cf2433893f3d02e (patch)
tree8f7134e197803874b157ad6d80223b0fe21fba60 /tests
parent8b81467bea6759f9ef0beb092e6cd02a50000840 (diff)
downloadtelepathy-logger-6de9db8758f1c339f411aefb9cf2433893f3d02e.tar.gz
use account's normalized name instead of its account id
It doesn't make sense to use the account opaque ID as 'self id'. Fix fdo#69814.
Diffstat (limited to 'tests')
-rw-r--r--tests/dbus/test-tpl-log-store-xml.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c
index a16a95b..11e841d 100644
--- a/tests/dbus/test-tpl-log-store-xml.c
+++ b/tests/dbus/test-tpl-log-store-xml.c
@@ -320,7 +320,8 @@ test_add_text_event (XmlTestCaseFixture *fixture,
TP_ACCOUNT_OBJECT_PATH_BASE "idle/irc/me",
&account, &account_service);
- me = tpl_entity_new ("me", TPL_ENTITY_SELF, "my-alias", "my-avatar");
+ me = tpl_entity_new ("bob.mcbadgers@example.com", TPL_ENTITY_SELF,
+ "my-alias", "my-avatar");
contact = tpl_entity_new ("contact", TPL_ENTITY_CONTACT, "contact-alias",
"contact-token");
room = tpl_entity_new_from_room_id ("room");
@@ -744,7 +745,8 @@ test_add_call_event (XmlTestCaseFixture *fixture,
TP_ACCOUNT_OBJECT_PATH_BASE "gabble/jabber/me",
&account, &account_service);
- me = tpl_entity_new ("me", TPL_ENTITY_SELF, "my-alias", "my-avatar");
+ me = tpl_entity_new ("bob.mcbadgers@example.com", TPL_ENTITY_SELF,
+ "my-alias", "my-avatar");
contact = tpl_entity_new ("contact", TPL_ENTITY_CONTACT, "contact-alias",
"contact-token");
room = tpl_entity_new_from_room_id ("room");