aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/graphql_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-09 20:08:12 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-09 20:23:38 +0100
commitb3d3612393387c83fa43f908dbb8e2a71068c834 (patch)
treee4609e21dc74e535d45b38cd7d0504681c544160 /graphql/graphql_test.go
parentdca85b309a0a82e9993a345964d0831ab2876fb4 (diff)
parent3caffeef4d2ed25d4eb5d4bfd262f4fc3b92561f (diff)
downloadgit-bug-b3d3612393387c83fa43f908dbb8e2a71068c834.tar.gz
Merge remote-tracking branch 'origin/master' into cheshirekow-jira
Diffstat (limited to 'graphql/graphql_test.go')
-rw-r--r--graphql/graphql_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphql/graphql_test.go b/graphql/graphql_test.go
index 6784df96..4bab7f58 100644
--- a/graphql/graphql_test.go
+++ b/graphql/graphql_test.go
@@ -1,10 +1,9 @@
package graphql
import (
- "net/http/httptest"
"testing"
- "github.com/vektah/gqlgen/client"
+ "github.com/99designs/gqlgen/client"
"github.com/MichaelMure/git-bug/graphql/models"
"github.com/MichaelMure/git-bug/misc/random_bugs"
@@ -22,8 +21,7 @@ func TestQueries(t *testing.T) {
t.Fatal(err)
}
- srv := httptest.NewServer(handler)
- c := client.New(srv.URL)
+ c := client.New(handler)
query := `
query {