mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 02:27:58 +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));
|
||||
|
||||
// FIXME: The order of assertEquals is reversed, fix it by switching it.
|
||||
assertEquals(message.toXML(StreamOpen.CLIENT_NAMESPACE).toString(), mamQueryResultExample);
|
||||
assertEquals(mamQueryResultExample, message.toXML(StreamOpen.CLIENT_NAMESPACE).toString());
|
||||
|
||||
MamResultExtension mamResultExtension = MamResultExtension.from(message);
|
||||
|
||||
|
|
Loading…
Reference in a new issue