mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Minor fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2448 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
069a3d4d16
commit
a457af11fb
1 changed files with 2 additions and 2 deletions
|
@ -91,8 +91,8 @@ public class PacketReaderTest extends SmackTestCase {
|
|||
if (response == null) {
|
||||
fail("No response from the other user.");
|
||||
}
|
||||
assertEquals("The received IQ is not of type ERROR", response.getType(),IQ.Type.ERROR);
|
||||
assertEquals("The error code is not 501", response.getError().getCode(),501);
|
||||
assertEquals("The received IQ is not of type ERROR", IQ.Type.ERROR, response.getType());
|
||||
assertEquals("The error code is not 501", 501, response.getError().getCode());
|
||||
collector.cancel();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue