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

@@ -361,7 +361,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
}
)
assert hd(res["errors"])["message"] == "Actor is not member of group"
assert hd(res["errors"])["message"] == "Profile is not member of group"
end
test "get_resource/3 when not connected", %{
@@ -516,7 +516,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
)
assert Enum.map(res["errors"], & &1["message"]) == [
"Actor id is not member of group"
"Profile is not member of group"
]
end
@@ -545,7 +545,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
)
assert Enum.map(res["errors"], & &1["message"]) == [
"Parent resource doesn't match this group"
"Parent resource doesn't belong to this group"
]
end
end