diff options
author | Vitaly Takmazov | 2018-01-30 13:33:57 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-01-30 13:33:57 +0300 |
commit | 1e5c0403d3339c40950106737ef17727d786f6d4 (patch) | |
tree | bd65ac05764397e3b45fc8e15646956408e8a48b /juick-xmpp/src/test | |
parent | 59e0c016bcb3e5f5260bf35bed63994fc9df3016 (diff) |
xmpp: fix description of subscribeMessage command
Diffstat (limited to 'juick-xmpp/src/test')
-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 784c29b2..7f08602c 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 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)); + // subscription commands have two lines, others have 1 + assertThat(bot.processCommand(new User(), Jid.of("test@localhost"), "help").get().split("\n").length, is(21)); } @Test |