1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 13:07:59 +01:00

Removed welcome message from #testDiscussionHistory since the server no longer sends that message.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2431 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2004-12-17 02:42:03 +00:00 committed by gaston
parent 94db37b89b
commit aaeb476f05

View file

@ -141,9 +141,7 @@ public class MultiUserChatTest extends SmackTestCase {
muc2.join("testbot2", null, history, SmackConfiguration.getPacketReplyTimeout());
Message msg;
// Get welcome message
muc2.nextMessage(1000);
// Get first historic message
// Get first historic message
msg = muc2.nextMessage(1000);
assertNotNull("First message is null", msg);
assertEquals("Body of first message is incorrect", "Message 3", msg.getBody());
@ -158,8 +156,6 @@ public class MultiUserChatTest extends SmackTestCase {
history.setMaxStanzas(2);
muc3.join("testbot3", null, history, SmackConfiguration.getPacketReplyTimeout());
// Get welcome message
muc3.nextMessage(1000);
// Get first historic message
msg = muc3.nextMessage(1000);
assertNotNull("First message is null", msg);