mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-09 02:28:33 +00:00
refactor: make pmapi.Client the interface
This commit is contained in:
@ -36,8 +36,8 @@ var testClientConfig = &ClientConfig{
|
||||
MinSpeed: 256,
|
||||
}
|
||||
|
||||
func newTestClient(cm *ClientManager) *Client {
|
||||
return cm.GetClient("tester")
|
||||
func newTestClient(cm *ClientManager) *client {
|
||||
return cm.GetClient("tester").(*client)
|
||||
}
|
||||
|
||||
func TestClient_Do(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user