From 1d4bb7ceb0cef79d68df0bacc913b01e40e6ddd6 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 5 Feb 2020 22:03:19 +0100 Subject: migrate to go modules --- graphql/graphql_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphql/graphql_test.go') diff --git a/graphql/graphql_test.go b/graphql/graphql_test.go index 6784df96..6a4ceca3 100644 --- a/graphql/graphql_test.go +++ b/graphql/graphql_test.go @@ -4,7 +4,7 @@ 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" -- cgit From 7e48e0a9bebed113246e7883164c5d87eb936afb Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 5 Feb 2020 23:42:49 +0100 Subject: upgrade to gqlgen master, waiting for a release --- graphql/graphql_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'graphql/graphql_test.go') diff --git a/graphql/graphql_test.go b/graphql/graphql_test.go index 6a4ceca3..4bab7f58 100644 --- a/graphql/graphql_test.go +++ b/graphql/graphql_test.go @@ -1,7 +1,6 @@ package graphql import ( - "net/http/httptest" "testing" "github.com/99designs/gqlgen/client" @@ -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 { -- cgit