diff --git a/cmd/serve/restic/restic_test.go b/cmd/serve/restic/restic_test.go index bd3bc7cf1..23b3c77bb 100644 --- a/cmd/serve/restic/restic_test.go +++ b/cmd/serve/restic/restic_test.go @@ -61,6 +61,7 @@ func TestRestic(t *testing.T) { cmd := exec.Command("go", args...) cmd.Env = append(os.Environ(), "RESTIC_TEST_REST_REPOSITORY=rest:"+w.Server.URL()+path, + "GO111MODULE=on", ) out, err := cmd.CombinedOutput() if len(out) != 0 {