From 33d34dc5b18119cb4b87ae5130357e9da7b541fc Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Sat, 19 Feb 2011 23:17:39 +0100 Subject: [PATCH] Adapt tests for checking a stanza's JID --- tests/test.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.m b/tests/test.m index d979a4d..762b520 100644 --- a/tests/test.m +++ b/tests/test.m @@ -79,8 +79,8 @@ OF_APPLICATION_DELEGATE(AppDelegate) [elem addAttributeWithName: @"id" stringValue: @"42"]; XMPPStanza *stanza = [XMPPStanza stanzaWithElement: elem]; assert([[elem stringValue] isEqual: [stanza stringValue]]); - assert(([[OFString stringWithFormat: @"%@, %@, %@, %@", stanza.from, - stanza.to, stanza.type, stanza.ID] + assert(([[OFString stringWithFormat: @"%@, %@, %@, %@", + stanza.from.fullJID, stanza.to.fullJID, stanza.type, stanza.ID] isEqual: @"bob@localhost, alice@localhost, get, 42"])); conn = [[XMPPConnection alloc] init];