Add event resolver tests

This commit is contained in:
Chocobozzz
2019-02-01 09:52:36 +01:00
committed by Thomas Citharel
parent ec961aa5e6
commit d0c1d6f41f
3 changed files with 90 additions and 6 deletions

View File

@@ -165,8 +165,7 @@ defmodule MobilizonWeb.Resolvers.UserResolverTest do
context.conn
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] ==
"User with email not found"
assert hd(json_response(res, 200)["errors"])["message"] == "User with email not found"
end
test "register_person/3 can't be called with an existing profile", context do