More test stuff

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-11-28 17:16:23 +01:00
parent afb9b797ba
commit 534138f775
8 changed files with 86 additions and 79 deletions

View File

@@ -190,7 +190,7 @@ defmodule MobilizonWeb.Resolvers.UserResolverTest do
context.conn
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] == "Invalid token"
assert hd(json_response(res, 200)["errors"])["message"] == "validation_failed"
end
end