mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Updates to SmackTestCase to properly provide the username and password for each connection. Test cases manually logging in now use these methods instead of wrongly assuming the username/password pattern.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13453 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
d1e9d81769
commit
8c0b062629
6 changed files with 70 additions and 39 deletions
|
@ -49,7 +49,7 @@ public class ReconnectionTest extends SmackTestCase {
|
|||
// Connect to the server
|
||||
connection.connect();
|
||||
// Log into the server
|
||||
connection.login(getUsername(0), getUsername(0), "MyOtherResource");
|
||||
connection.login(getUsername(0), getPassword(0), "MyOtherResource");
|
||||
|
||||
assertTrue("Failed to use compression", connection.isUsingCompression());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue