client, serverinit: fix tests from API change in earlier change

I forgot to fix these as part of 8e71a705d.

Fixes #1171

Change-Id: I22402dfad36bc26fc598b760ab4514cee71e1e38
This commit is contained in:
Brad Fitzpatrick 2018-05-18 09:48:17 -07:00
parent 706e5f9f72
commit 41ed0359e1
2 changed files with 2 additions and 4 deletions

View File

@ -137,10 +137,9 @@ func newTestServer(t *testing.T) *httptest.Server {
t.Fatal(err)
}
reindex := false
hi := http.NewServeMux()
address := "http://" + conf.Listen
_, err = lowConf.InstallHandlers(hi, address, reindex)
_, err = lowConf.InstallHandlers(hi, address)
if err != nil {
t.Fatal(err)
}

View File

@ -304,10 +304,9 @@ func TestInstallHandlers(t *testing.T) {
t.Fatal(err)
}
reindex := false
hi := http.NewServeMux()
address := "http://" + conf.Listen
_, err = lowConf.InstallHandlers(hi, address, reindex)
_, err = lowConf.InstallHandlers(hi, address)
if err != nil {
t.Fatal(err)
}