fix(graphql): set default value for resource type parameter
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -283,7 +283,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ResourceTest do
|
||||
}
|
||||
)
|
||||
|
||||
assert is_nil(res["errors"])
|
||||
assert res["errors"] == nil
|
||||
|
||||
assert res["data"]["resource"]["path"] == "/"
|
||||
assert String.starts_with?(res["data"]["resource"]["id"], "root_")
|
||||
|
||||
Reference in New Issue
Block a user