1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-23 06:42:05 +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,8 +141,6 @@ public class MultiUserChatTest extends SmackTestCase {
muc2.join("testbot2", null, history, SmackConfiguration.getPacketReplyTimeout()); muc2.join("testbot2", null, history, SmackConfiguration.getPacketReplyTimeout());
Message msg; Message msg;
// Get welcome message
muc2.nextMessage(1000);
// Get first historic message // Get first historic message
msg = muc2.nextMessage(1000); msg = muc2.nextMessage(1000);
assertNotNull("First message is null", msg); assertNotNull("First message is null", msg);
@ -158,8 +156,6 @@ public class MultiUserChatTest extends SmackTestCase {
history.setMaxStanzas(2); history.setMaxStanzas(2);
muc3.join("testbot3", null, history, SmackConfiguration.getPacketReplyTimeout()); muc3.join("testbot3", null, history, SmackConfiguration.getPacketReplyTimeout());
// Get welcome message
muc3.nextMessage(1000);
// Get first historic message // Get first historic message
msg = muc3.nextMessage(1000); msg = muc3.nextMessage(1000);
assertNotNull("First message is null", msg); assertNotNull("First message is null", msg);