mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
PagingTest: Call assertsEquals with the correct order of arguments
first expected, then actual.
This commit is contained in:
parent
dd4df0a5ef
commit
e8819d31dd
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class PagingTest extends MamTest {
|
||||||
|
|
||||||
assertEquals(mamQueryIQ.getDataForm(), dataForm);
|
assertEquals(mamQueryIQ.getDataForm(), dataForm);
|
||||||
assertEquals(mamQueryIQ.getDataForm().getFields().get(0).getValues().get(0).toString(), "urn:xmpp:mam:1");
|
assertEquals(mamQueryIQ.getDataForm().getFields().get(0).getValues().get(0).toString(), "urn:xmpp:mam:1");
|
||||||
assertEquals(mamQueryIQ.toXML(StreamOpen.CLIENT_NAMESPACE).toString(), pagingStanza);
|
assertEquals(pagingStanza, mamQueryIQ.toXML(StreamOpen.CLIENT_NAMESPACE).toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue