mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-27 14:47:59 +01:00
Fixed test.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10882 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
0540d2e38a
commit
ffb8cd914a
1 changed files with 2 additions and 3 deletions
|
@ -76,10 +76,9 @@ public class AdHocCommandDiscoTest extends SmackTestCase {
|
|||
manager1.registerCommand("test", "test node", LocalCommand.class);
|
||||
|
||||
AdHocCommandManager manager2 = AdHocCommandManager.getAddHocCommandsManager(getConnection(1));
|
||||
DiscoverItems items = manager2.discoverCommands(getBareJID(0));
|
||||
DiscoverItems items = manager2.discoverCommands(getFullJID(0));
|
||||
|
||||
System.out.println(items.toXML());
|
||||
//TODO: test that "test" node is in disco items
|
||||
assertTrue("Disco for command test failed", items.getItems().next().getNode().equals("test"));
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail(e.getMessage());
|
||||
|
|
Loading…
Reference in a new issue