Improve and activate groups

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-09-29 09:53:48 +02:00
parent 1ca46a6863
commit 49a5725da3
131 changed files with 16440 additions and 1929 deletions

View File

@@ -141,7 +141,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
assert res["data"]["createEvent"] == nil
assert hd(res["errors"])["message"] ==
"Organizer actor id is not owned by the user"
"Organizer profile is not owned by the user"
end
test "create_event/3 should check that end time is after start time", %{
@@ -693,7 +693,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
|> auth_conn(user)
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] == "User doesn't own actor"
assert hd(json_response(res, 200)["errors"])["message"] == "User doesn't own profile"
end
test "update_event/3 should check end time is after the beginning time", %{