From 642f5bde61e221b0c4249719a4b469faec381430 Mon Sep 17 00:00:00 2001 From: Dan Caseley Date: Fri, 23 Apr 2021 16:50:33 +0100 Subject: [PATCH] [sinttest] Fix ordering of parameters in muc assertEquals checks --- .../jivesoftware/smackx/muc/MultiUserChatIntegrationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smack-integration-test/src/main/java/org/jivesoftware/smackx/muc/MultiUserChatIntegrationTest.java b/smack-integration-test/src/main/java/org/jivesoftware/smackx/muc/MultiUserChatIntegrationTest.java index 28a9f26b3..0cae490b6 100644 --- a/smack-integration-test/src/main/java/org/jivesoftware/smackx/muc/MultiUserChatIntegrationTest.java +++ b/smack-integration-test/src/main/java/org/jivesoftware/smackx/muc/MultiUserChatIntegrationTest.java @@ -100,7 +100,7 @@ public class MultiUserChatIntegrationTest extends AbstractSmackIntegrationTest { assertNotNull(mucUser); assertTrue(mucUser.getStatus().contains(MUCUser.Status.PRESENCE_TO_SELF_110)); assertEquals(mucAddress + "/nick-one", reflectedJoinPresence.getFrom().toString()); - assertEquals(reflectedJoinPresence.getTo().toString(), conOne.getUser().asEntityFullJidIfPossible().toString()); + assertEquals(conOne.getUser().asEntityFullJidIfPossible().toString(), reflectedJoinPresence.getTo().toString()); } finally { tryDestroy(muc); } @@ -133,7 +133,7 @@ public class MultiUserChatIntegrationTest extends AbstractSmackIntegrationTest { assertTrue(mucUser.getStatus().contains(MUCUser.Status.PRESENCE_TO_SELF_110)); assertEquals(mucAddress + "/nick-one", reflectedLeavePresence.getFrom().toString()); - assertEquals(reflectedLeavePresence.getTo().toString(), conOne.getUser().asEntityFullJidIfPossible().toString()); + assertEquals(conOne.getUser().asEntityFullJidIfPossible().toString(), reflectedLeavePresence.getTo().toString()); } finally { tryDestroy(muc); }