mirror of https://github.com/perkeep/perkeep.git
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:
parent
706e5f9f72
commit
41ed0359e1
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue