Add group resolver tests

This commit is contained in:
Chocobozzz
2019-02-01 09:42:31 +01:00
committed by Thomas Citharel
parent f3d37325fa
commit ec961aa5e6
2 changed files with 92 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ defmodule MobilizonWeb.Resolvers.Group do
{:error, "Actor id is not a member of this group"}
{:is_admin, false} ->
{:error, "User is not an administrator of the selected group"}
{:error, "Actor id is not an administrator of the selected group"}
end
end