test: empty auth update channel in tests

This commit is contained in:
James Houlahan
2020-04-23 10:32:17 +02:00
committed by Michal Horejsek
parent 8f15041d8f
commit 7d30459417
5 changed files with 28 additions and 16 deletions

View File

@ -79,7 +79,7 @@ func newTestServer(h http.Handler) (*httptest.Server, *client) {
panic(err)
}
cm := NewClientManager(testClientConfig)
cm := newTestClientManager(testClientConfig)
cm.host = serverURL.Host
cm.scheme = serverURL.Scheme
@ -122,7 +122,7 @@ func newTestServerCallbacks(tb testing.TB, callbacks ...func(testing.TB, http.Re
}
}
cm := NewClientManager(testClientConfig)
cm := newTestClientManager(testClientConfig)
cm.host = serverURL.Host
cm.scheme = serverURL.Scheme