diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-10-06 11:17:10 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-10-06 11:17:10 +0200 |
commit | 0ae84a646f91413b3cdf309c72d1a3c77256cdd1 (patch) | |
tree | 989fff0d3e394b34cd58fdd6bbebd6c376699568 /test | |
parent | Use correct field for oauth scope (diff) |
Disable one test for now, we may change how this part is handled
Diffstat (limited to 'test')
-rw-r--r-- | test/mod_http_api_test.exs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/mod_http_api_test.exs b/test/mod_http_api_test.exs index efe090a3..c68270f1 100644 --- a/test/mod_http_api_test.exs +++ b/test/mod_http_api_test.exs @@ -47,12 +47,12 @@ defmodule ModHttpApiTest do assert Enum.member?(commands, :user_cmd) end - test "We can call open commands without authentication" do - setup_mocks() - :ejabberd_commands.expose_commands([:open_cmd]) - request = request(method: :POST, ip: {{127,0,0,1},50000}, data: "[]") - {200, _, _} = :mod_http_api.process(["open_cmd"], request) - end +# test "We can call open commands without authentication" do +# setup_mocks() +# :ejabberd_commands.expose_commands([:open_cmd]) +# request = request(method: :POST, ip: {{127,0,0,1},50000}, data: "[]") +# {200, _, _} = :mod_http_api.process(["open_cmd"], request) +# end # This related to the commands config file option test "Attempting to access a command that is not exposed as HTTP API returns 403" do |