mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
[sinttest] MultiUserChatEntityIntegrationTest cleanups
This commit is contained in:
parent
e51cf47b29
commit
56c66f17d8
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ public class MultiUserChatEntityIntegrationTest extends AbstractMultiUserChatInt
|
|||
DiscoverInfo discoInfo;
|
||||
try {
|
||||
// Use SDM because mucManagerOne.getRoomInfo(mucAddress) might not use Disco
|
||||
discoInfo = ServiceDiscoveryManager.getInstanceFor(conOne).discoverInfo(mucAddress, null);
|
||||
discoInfo = ServiceDiscoveryManager.getInstanceFor(conOne).discoverInfo(mucAddress);
|
||||
} finally {
|
||||
tryDestroy(mucAsSeenByOne);
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ public class MultiUserChatEntityIntegrationTest extends AbstractMultiUserChatInt
|
|||
|
||||
DiscoverItems roomItems;
|
||||
try {
|
||||
roomItems = ServiceDiscoveryManager.getInstanceFor(conTwo).discoverItems(mucAddress, null);
|
||||
roomItems = ServiceDiscoveryManager.getInstanceFor(conTwo).discoverItems(mucAddress);
|
||||
} finally {
|
||||
tryDestroy(mucAsSeenByOne);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue