diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-11-18 12:54:06 +0100 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-11-18 12:54:06 +0100 |
commit | daab95e3b5d47327f07ec7efd1189e71a41e6439 (patch) | |
tree | fbeec73d538ebecd9d9215b5a180bcd082e48fce | |
parent | Remove useless NO_EXT_LIB flag (diff) |
Fix elixir tests
-rw-r--r-- | test/ejabberd_cyrsasl_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ejabberd_cyrsasl_test.exs b/test/ejabberd_cyrsasl_test.exs index d9b949294..b85be0f8e 100644 --- a/test/ejabberd_cyrsasl_test.exs +++ b/test/ejabberd_cyrsasl_test.exs @@ -44,12 +44,12 @@ defmodule EjabberdCyrsaslTest do test "Plain text (correct user wrong pass)", context do step1 = :cyrsasl.server_start(context[:cyrstate], "PLAIN", <<0,"user1",0,"badpass">>) - assert step1 == {:error, "not-authorized", "user1"}, "got error response" + assert step1 == {:error, :"not-authorized", "user1"} end test "Plain text (wrong user wrong pass)", context do step1 = :cyrsasl.server_start(context[:cyrstate], "PLAIN", <<0,"nouser1",0,"badpass">>) - assert step1 == {:error, "not-authorized", "nouser1"}, "got error response" + assert step1 == {:error, :"not-authorized", "nouser1"} end test "Anonymous", context do |