mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
[sinttest] Fix ordering of parameters in muc assertEquals checks
This commit is contained in:
parent
3d4e7938a7
commit
642f5bde61
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ public class MultiUserChatIntegrationTest extends AbstractSmackIntegrationTest {
|
||||||
assertNotNull(mucUser);
|
assertNotNull(mucUser);
|
||||||
assertTrue(mucUser.getStatus().contains(MUCUser.Status.PRESENCE_TO_SELF_110));
|
assertTrue(mucUser.getStatus().contains(MUCUser.Status.PRESENCE_TO_SELF_110));
|
||||||
assertEquals(mucAddress + "/nick-one", reflectedJoinPresence.getFrom().toString());
|
assertEquals(mucAddress + "/nick-one", reflectedJoinPresence.getFrom().toString());
|
||||||
assertEquals(reflectedJoinPresence.getTo().toString(), conOne.getUser().asEntityFullJidIfPossible().toString());
|
assertEquals(conOne.getUser().asEntityFullJidIfPossible().toString(), reflectedJoinPresence.getTo().toString());
|
||||||
} finally {
|
} finally {
|
||||||
tryDestroy(muc);
|
tryDestroy(muc);
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ public class MultiUserChatIntegrationTest extends AbstractSmackIntegrationTest {
|
||||||
|
|
||||||
assertTrue(mucUser.getStatus().contains(MUCUser.Status.PRESENCE_TO_SELF_110));
|
assertTrue(mucUser.getStatus().contains(MUCUser.Status.PRESENCE_TO_SELF_110));
|
||||||
assertEquals(mucAddress + "/nick-one", reflectedLeavePresence.getFrom().toString());
|
assertEquals(mucAddress + "/nick-one", reflectedLeavePresence.getFrom().toString());
|
||||||
assertEquals(reflectedLeavePresence.getTo().toString(), conOne.getUser().asEntityFullJidIfPossible().toString());
|
assertEquals(conOne.getUser().asEntityFullJidIfPossible().toString(), reflectedLeavePresence.getTo().toString());
|
||||||
} finally {
|
} finally {
|
||||||
tryDestroy(muc);
|
tryDestroy(muc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue