summaryrefslogtreecommitdiffstatshomepage
path: root/graphql/graphql_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/graphql_test.go')
-rw-r--r--graphql/graphql_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphql/graphql_test.go b/graphql/graphql_test.go
index 0ff2c3fb..7c1ae66b 100644
--- a/graphql/graphql_test.go
+++ b/graphql/graphql_test.go
@@ -5,6 +5,7 @@ import (
"github.com/99designs/gqlgen/client"
+ "github.com/MichaelMure/git-bug/graphql/config"
"github.com/MichaelMure/git-bug/graphql/models"
"github.com/MichaelMure/git-bug/misc/random_bugs"
"github.com/MichaelMure/git-bug/repository"
@@ -16,7 +17,7 @@ func TestQueries(t *testing.T) {
random_bugs.FillRepoWithSeed(repo, 10, 42)
- handler, err := NewHandler(repo)
+ handler, err := NewHandler(repo, config.Config{})
if err != nil {
t.Fatal(err)
}