mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
[sinttest] Directly use rosterTwo instead of Roster.getInstanceFor()
This commit is contained in:
parent
3749f524f5
commit
1f34f3e613
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public class RosterIntegrationTest extends AbstractSmackIntegrationTest {
|
|||
"whose value is \"subscribe\").")
|
||||
public void testRosterPushAfterSubscriptionRequest() throws Exception {
|
||||
IntegrationTestRosterUtil.ensureBothAccountsAreNotInEachOthersRoster(conOne, conTwo);
|
||||
Roster.getInstanceFor(conTwo).setSubscriptionMode(Roster.SubscriptionMode.manual); // prevents a race condition when asserting the captured roster entry.
|
||||
rosterTwo.setSubscriptionMode(Roster.SubscriptionMode.manual); // prevents a race condition when asserting the captured roster entry.
|
||||
final ResultSyncPoint<RosterEntry, Exception> added = new ResultSyncPoint<>();
|
||||
|
||||
final RosterListener rosterListener = new AbstractRosterListener() {
|
||||
|
|
Loading…
Reference in a new issue