diff options
author | 2018-01-30 13:30:20 +0300 | |
---|---|---|
committer | 2018-01-30 13:30:20 +0300 | |
commit | 59e0c016bcb3e5f5260bf35bed63994fc9df3016 (patch) | |
tree | 9d870ee328696bf6c5bcb8cc93164346f03f7104 /juick-xmpp/src/test/java/com/juick/xmpp/server/XMPPServerTests.java | |
parent | 9c22987d6309b91fbe41bd47e410b1f809144c41 (diff) |
xmpp: S @username
Diffstat (limited to 'juick-xmpp/src/test/java/com/juick/xmpp/server/XMPPServerTests.java')
-rw-r--r-- | juick-xmpp/src/test/java/com/juick/xmpp/server/XMPPServerTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-xmpp/src/test/java/com/juick/xmpp/server/XMPPServerTests.java b/juick-xmpp/src/test/java/com/juick/xmpp/server/XMPPServerTests.java index 537445ea..784c29b2 100644 --- a/juick-xmpp/src/test/java/com/juick/xmpp/server/XMPPServerTests.java +++ b/juick-xmpp/src/test/java/com/juick/xmpp/server/XMPPServerTests.java @@ -95,8 +95,8 @@ public class XMPPServerTests extends AbstractJUnit4SpringContextTests { @Test public void botCommandsTests() throws IllegalAccessException, NoSuchMethodException, InvocationTargetException { assertThat(bot.processCommand(new User(), Jid.of("test@localhost"), "PING").get(), is("PONG")); - // tag help have two lines, others have 1 - assertThat(bot.processCommand(new User(), Jid.of("test@localhost"), "help").get().split("\n").length, is(18)); + // tag and user help have two lines, others have 1 + assertThat(bot.processCommand(new User(), Jid.of("test@localhost"), "help").get().split("\n").length, is(20)); } @Test |