mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-20 12:33:09 -06:00
Close, not Client
This commit is contained in:
parent
e293d82151
commit
dcebf78944
|
|
@ -60,7 +60,7 @@ func TestCollect(t *testing.T) {
|
||||||
}
|
}
|
||||||
close(receivedRequest)
|
close(receivedRequest)
|
||||||
}))
|
}))
|
||||||
defer srv.Client()
|
defer srv.Close()
|
||||||
|
|
||||||
b.Cfg.Global.ReportStats.Endpoint = srv.URL
|
b.Cfg.Global.ReportStats.Endpoint = srv.URL
|
||||||
stats := phoneHomeStats{
|
stats := phoneHomeStats{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue