serve restic: fix tests after restic project removed vendoring

This commit is contained in:
Nick Craig-Wood 2020-03-18 16:48:27 +00:00
parent 1d3987bbbd
commit 36717c7d98

View File

@ -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 {