Get config and display/hide register button

This commit is contained in:
Chocobozzz
2019-03-22 13:58:19 +01:00
parent e864b38ec6
commit 4fa78d7cd2
9 changed files with 48 additions and 48 deletions

View File

@@ -18,7 +18,7 @@ defmodule MobilizonWeb.Resolvers.ConfigResolverTest do
context.conn
|> get("/api", AbsintheHelpers.query_skeleton(query, "config"))
assert json_response(res, 200)["data"]["config"]["name"] == "Localhost"
assert json_response(res, 200)["data"]["config"]["name"] == "Test instance"
assert json_response(res, 200)["data"]["config"]["registrationsOpen"] == true
end
end