feat: improve login flow

This commit is contained in:
James Houlahan
2020-04-02 16:41:49 +02:00
parent 941e09079c
commit 6e38a65bd8
41 changed files with 595 additions and 362 deletions

View File

@ -36,9 +36,8 @@ var testClientConfig = &ClientConfig{
MinSpeed: 256,
}
func newTestClient() *Client {
c := newClient(NewClientManager(testClientConfig), "tester")
return c
func newTestClient(cm *ClientManager) *Client {
return cm.GetClient("tester")
}
func TestClient_Do(t *testing.T) {