Index: tests/test.m ================================================================== --- tests/test.m +++ tests/test.m @@ -61,11 +61,11 @@ @"from='bob@example.org'>chat" @"Bored20" @""]); XMPPMessage *msg = [XMPPMessage messageWithType: @"chat"]; - [msg addBody: @"Hello everyone"]; + [msg setBody: @"Hello everyone"]; [msg setTo: [XMPPJID JIDWithString: @"jdev@conference.jabber.org"]]; [msg setFrom: [XMPPJID JIDWithString: @"alice@example.com"]]; assert([[msg XMLString] isEqual: @"Hello everyone"