(t *testing.T)
| 31 | } |
| 32 | |
| 33 | func TestHTTPClient_SetAuthManager(t *testing.T) { |
| 34 | client := NewHTTPClient(&http.Client{}, "https://test.example.com", testutils.NewTestLogger()) |
| 35 | authManager := &AuthManager{} |
| 36 | |
| 37 | client.SetAuthManager(authManager) |
| 38 | |
| 39 | assert.Equal(t, authManager, client.authManager) |
| 40 | } |
| 41 | |
| 42 | func TestHTTPClient_SetAPIToken(t *testing.T) { |
| 43 | client := NewHTTPClient(&http.Client{}, "https://test.example.com", testutils.NewTestLogger()) |
nothing calls this directly
no test coverage detected