Fix to disable TLS in tests

This commit is contained in:
Marc Di Luzio 2020-07-26 23:53:29 +01:00
parent 500e0f9557
commit 94767f06d3
2 changed files with 7 additions and 3 deletions

View file

@ -13,6 +13,7 @@ import (
)
func Test_InnerMain(t *testing.T) {
os.Setenv("NO_TLS", "1")
// Use temporary local user data
tmp, err := ioutil.TempDir(os.TempDir(), "rove-")