diff options
Diffstat (limited to 'test/ejabberd_commands_test.exs')
-rw-r--r-- | test/ejabberd_commands_test.exs | 4 |
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), |