From 3a61e2f841327c87078bbf281a5196c9a8741c22 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Sat, 20 Apr 2019 05:32:59 +0900 Subject: [PATCH] Use go module in test directory (#1159) --- go.mod | 1 - go.sum | 2 -- test/integration/activity_test.go | 2 +- test/integration/authorizations_test.go | 2 +- test/integration/github_test.go | 2 +- test/integration/repos_test.go | 2 +- test/integration/users_test.go | 2 +- 7 files changed, 5 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 16ff0561997..3d4f0834667 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,6 @@ module github.com/google/go-github/v25 require ( github.com/golang/protobuf v1.2.0 // indirect - github.com/google/go-github v17.0.0+incompatible github.com/google/go-querystring v1.0.0 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 golang.org/x/net v0.0.0-20190311183353-d8887717615a // indirect diff --git a/go.sum b/go.sum index 317188b42fa..927256d3d86 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,5 @@ github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY= -github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= diff --git a/test/integration/activity_test.go b/test/integration/activity_test.go index df6c34d6fae..4b3beaca799 100644 --- a/test/integration/activity_test.go +++ b/test/integration/activity_test.go @@ -11,7 +11,7 @@ import ( "context" "testing" - "github.com/google/go-github/github" + "github.com/google/go-github/v25/github" ) const ( diff --git a/test/integration/authorizations_test.go b/test/integration/authorizations_test.go index 532ac76f506..b058b99d479 100644 --- a/test/integration/authorizations_test.go +++ b/test/integration/authorizations_test.go @@ -16,7 +16,7 @@ import ( "testing" "time" - "github.com/google/go-github/github" + "github.com/google/go-github/v25/github" ) const msgEnvMissing = "Skipping test because the required environment variable (%v) is not present." diff --git a/test/integration/github_test.go b/test/integration/github_test.go index 489d38a4660..3d9328a9308 100644 --- a/test/integration/github_test.go +++ b/test/integration/github_test.go @@ -14,7 +14,7 @@ import ( "net/http" "os" - "github.com/google/go-github/github" + "github.com/google/go-github/v25/github" "golang.org/x/oauth2" ) diff --git a/test/integration/repos_test.go b/test/integration/repos_test.go index 58aa1821c9a..ddb1fa5937a 100644 --- a/test/integration/repos_test.go +++ b/test/integration/repos_test.go @@ -13,7 +13,7 @@ import ( "reflect" "testing" - "github.com/google/go-github/github" + "github.com/google/go-github/v25/github" ) func TestRepositories_CRUD(t *testing.T) { diff --git a/test/integration/users_test.go b/test/integration/users_test.go index 3c47c369a9c..0ab940eb604 100644 --- a/test/integration/users_test.go +++ b/test/integration/users_test.go @@ -13,7 +13,7 @@ import ( "math/rand" "testing" - "github.com/google/go-github/github" + "github.com/google/go-github/v25/github" ) func TestUsers_Get(t *testing.T) {