1
0
Fork 0
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:
Florian Schmaus 2021-12-20 22:39:45 +01:00
parent e51cf47b29
commit 56c66f17d8

View file

@ -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);
}