Fix forgotten -[addBody:] -> -[setBody:] in the test.
This commit is contained in:
parent
618f432abc
commit
5386fb6e0b
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ OF_APPLICATION_DELEGATE(AppDelegate)
|
||||||
@"</presence>"]);
|
@"</presence>"]);
|
||||||
|
|
||||||
XMPPMessage *msg = [XMPPMessage messageWithType: @"chat"];
|
XMPPMessage *msg = [XMPPMessage messageWithType: @"chat"];
|
||||||
[msg addBody: @"Hello everyone"];
|
[msg setBody: @"Hello everyone"];
|
||||||
[msg setTo: [XMPPJID JIDWithString: @"jdev@conference.jabber.org"]];
|
[msg setTo: [XMPPJID JIDWithString: @"jdev@conference.jabber.org"]];
|
||||||
[msg setFrom: [XMPPJID JIDWithString: @"alice@example.com"]];
|
[msg setFrom: [XMPPJID JIDWithString: @"alice@example.com"]];
|
||||||
assert([[msg XMLString] isEqual: @"<message type='chat' "
|
assert([[msg XMLString] isEqual: @"<message type='chat' "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue