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:
parent
94db37b89b
commit
aaeb476f05
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue