diff options
author | Félix Sipma <felix+debian@gueux.org> | 2018-06-09 09:38:07 +0200 |
---|---|---|
committer | Félix Sipma <felix+debian@gueux.org> | 2018-06-09 09:38:07 +0200 |
commit | f3635cfc4dbbc177c7aa51ab8be2d69b97ae69a8 (patch) | |
tree | d40bcec96bf32015bce20bd027e03d0106bd70c9 /internal/backend/gs/gs_test.go | |
parent | 5f619dba707f469ddfbafe10dc3429b332c17745 (diff) |
New upstream version 0.9.0+ds
Diffstat (limited to 'internal/backend/gs/gs_test.go')
-rw-r--r-- | internal/backend/gs/gs_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/backend/gs/gs_test.go b/internal/backend/gs/gs_test.go index a7bf97848..27ff809ff 100644 --- a/internal/backend/gs/gs_test.go +++ b/internal/backend/gs/gs_test.go @@ -34,7 +34,6 @@ func newGSTestSuite(t testing.TB) *test.Suite { cfg := gscfg.(gs.Config) cfg.ProjectID = os.Getenv("RESTIC_TEST_GS_PROJECT_ID") - cfg.JSONKeyPath = os.Getenv("RESTIC_TEST_GS_APPLICATION_CREDENTIALS") cfg.Prefix = fmt.Sprintf("test-%d", time.Now().UnixNano()) return cfg, nil }, @@ -88,8 +87,8 @@ func TestBackendGS(t *testing.T) { }() vars := []string{ + "GOOGLE_APPLICATION_CREDENTIALS", "RESTIC_TEST_GS_PROJECT_ID", - "RESTIC_TEST_GS_APPLICATION_CREDENTIALS", "RESTIC_TEST_GS_REPOSITORY", } @@ -106,8 +105,8 @@ func TestBackendGS(t *testing.T) { func BenchmarkBackendGS(t *testing.B) { vars := []string{ + "GOOGLE_APPLICATION_CREDENTIALS", "RESTIC_TEST_GS_PROJECT_ID", - "RESTIC_TEST_GS_APPLICATION_CREDENTIALS", "RESTIC_TEST_GS_REPOSITORY", } |