1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +01:00

PagingTest: Call assertsEquals with the correct order of arguments

first expected, then actual.
This commit is contained in:
Florian Schmaus 2019-09-07 10:11:32 +02:00
parent dd4df0a5ef
commit e8819d31dd

View file

@ -47,7 +47,7 @@ public class PagingTest extends MamTest {
assertEquals(mamQueryIQ.getDataForm(), dataForm);
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());
}
}