From aaeb476f05492605c00d16bb650d70bceac2e3f0 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Fri, 17 Dec 2004 02:42:03 +0000 Subject: [PATCH] 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 --- test/org/jivesoftware/smackx/muc/MultiUserChatTest.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java b/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java index dac5d40aa..b2edfc3b0 100644 --- a/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java +++ b/test/org/jivesoftware/smackx/muc/MultiUserChatTest.java @@ -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);