summaryrefslogtreecommitdiff
path: root/test/ejabberd_commands_test.exs
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2016-03-31 11:37:14 +0200
committerMickaël Rémond <mickael.remond@process-one.net>2016-03-31 11:37:14 +0200
commit7c2998a55d78d1345b706192c55a9d03c649c38a (patch)
treeb092154b65f17eedc5a90e2e7576ca1d44c09cca /test/ejabberd_commands_test.exs
parentmix version updated for 16.03 release (diff)
parentFix Dialyzer inconsistency (diff)
Merge pull request #1044 from processone/http-api
Add ability to call open ejabberd commands through ReST API
Diffstat (limited to 'test/ejabberd_commands_test.exs')
-rw-r--r--test/ejabberd_commands_test.exs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ejabberd_commands_test.exs b/test/ejabberd_commands_test.exs
index 0c06fc2c..db5b82cf 100644
--- a/test/ejabberd_commands_test.exs
+++ b/test/ejabberd_commands_test.exs
@@ -36,6 +36,10 @@ defmodule EjabberdCommandsTest do
assert Enum.member?(commands, {:test_user, [], "Test user"})
end
+ # TODO Test that we can add command to list of expose commands
+ # This can be done with:
+ # ejabberd_config:add_local_option(commands, [[{add_commands, [open_cmd]}]]).
+
# test "Check that a user can use a user command" do
# [Command] = ets:lookup(ejabberd_commands, test_user),
# AccessCommands = ejabberd_commands:get_access_commands(undefined),