feat: add _update_config mutation

This commit is contained in:
Lakhan Samani
2021-12-31 17:03:37 +05:30
parent 217410e9a4
commit 9c8e9baa39
14 changed files with 2316 additions and 55 deletions

View File

@@ -2,6 +2,7 @@ package test
import (
"context"
"log"
"testing"
"github.com/authorizerdev/authorizer/server/resolvers"
@@ -12,6 +13,7 @@ func metaTests(s TestSetup, t *testing.T) {
t.Run(`should get meta information`, func(t *testing.T) {
ctx := context.Background()
meta, err := resolvers.Meta(ctx)
log.Println("=> meta:", meta)
assert.Nil(t, err)
assert.False(t, meta.IsFacebookLoginEnabled)
assert.False(t, meta.IsGoogleLoginEnabled)