diff options
author | James Booth <boothj5@gmail.com> | 2013-01-27 01:14:59 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-27 01:14:59 +0000 |
commit | 8bdab23e2502fc518389730a2bd2d6447a1a6739 (patch) | |
tree | 9e821af4bdbf244f6d79fec1edd0de4348d80c47 /tests | |
parent | 1a30ee15e04bdd950bdab94e2d5e7b6e86c7e7c5 (diff) | |
download | profani-tty-8bdab23e2502fc518389730a2bd2d6447a1a6739.tar.gz |
Renamed create jid function using barejid and resource
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_jid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_jid.c b/tests/test_jid.c index ce33909a..0b9da5ab 100644 --- a/tests/test_jid.c +++ b/tests/test_jid.c @@ -107,14 +107,14 @@ void create_jid_from_bare_returns_domainpart(void) void create_room_jid_returns_room(void) { - Jid *result = jid_create_room_jid("room@conference.domain.org", "myname"); + Jid *result = jid_create_from_bare_and_resource("room@conference.domain.org", "myname"); assert_string_equals("room@conference.domain.org", result->barejid); } void create_room_jid_returns_nick(void) { - Jid *result = jid_create_room_jid("room@conference.domain.org", "myname"); + Jid *result = jid_create_from_bare_and_resource("room@conference.domain.org", "myname"); assert_string_equals("myname", result->resourcepart); } |