aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/graphql_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-08-23 15:02:41 +0200
committerMichael Muré <batolettre@gmail.com>2022-08-23 15:09:31 +0200
commit8d11e620a3d663cf21a62910d0f3961a8aff4be1 (patch)
tree17dc3df82229eea5c3500e2bd8448060dc1ae849 /api/graphql/graphql_test.go
parent5a70e8b3a2e0fe3d1a1dcd4c24bb6bf64633cb7f (diff)
downloadgit-bug-8d11e620a3d663cf21a62910d0f3961a8aff4be1.tar.gz
webui: add a flag to log handling errors
Diffstat (limited to 'api/graphql/graphql_test.go')
-rw-r--r--api/graphql/graphql_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/graphql/graphql_test.go b/api/graphql/graphql_test.go
index 350e489a..2ddfb314 100644
--- a/api/graphql/graphql_test.go
+++ b/api/graphql/graphql_test.go
@@ -22,7 +22,7 @@ func TestQueries(t *testing.T) {
_, err := mrc.RegisterDefaultRepository(repo)
require.NoError(t, err)
- handler := NewHandler(mrc)
+ handler := NewHandler(mrc, nil)
c := client.New(handler)