mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
QueryArchiveTest: Call assertsEquals with the correct order of arguments
first expected, then actual.
This commit is contained in:
parent
e8819d31dd
commit
e9bcdf3e6d
1 changed files with 1 additions and 2 deletions
|
@ -82,8 +82,7 @@ public class QueryArchiveTest extends MamTest {
|
||||||
|
|
||||||
message.addExtension(new MamResultExtension("g27", "34482-21985-73620", forwarded));
|
message.addExtension(new MamResultExtension("g27", "34482-21985-73620", forwarded));
|
||||||
|
|
||||||
// FIXME: The order of assertEquals is reversed, fix it by switching it.
|
assertEquals(mamQueryResultExample, message.toXML(StreamOpen.CLIENT_NAMESPACE).toString());
|
||||||
assertEquals(message.toXML(StreamOpen.CLIENT_NAMESPACE).toString(), mamQueryResultExample);
|
|
||||||
|
|
||||||
MamResultExtension mamResultExtension = MamResultExtension.from(message);
|
MamResultExtension mamResultExtension = MamResultExtension.from(message);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue