controlclient, ipn: fix tests for new control param

This commit is contained in:
David Crawshaw
2020-03-18 08:35:28 +11:00
parent e085aec8ef
commit 5a0822eefd
3 changed files with 4 additions and 4 deletions

View File

@ -945,7 +945,7 @@ func newServer(t *testing.T) *server {
s.control.ServeHTTP(w, r)
}
}))
s.control, err = control.New(tmpdir, s.http.URL, true)
s.control, err = control.New(tmpdir, tmpdir, s.http.URL, true)
if err != nil {
t.Fatal(err)
}