garth more done

This commit is contained in:
2025-08-29 07:08:35 -07:00
parent fd0924e85e
commit 6b17d41a7a
13 changed files with 340 additions and 443 deletions

View File

@@ -81,8 +81,9 @@ func TestIntegrationHealthMetrics(t *testing.T) {
OAuth2Token: "test-token",
ExpiresAt: time.Now().Add(8 * time.Hour),
}
// For integration tests, pass nil for authenticator since we don't need token refresh
client, err := NewClient(nil, session, "")
// Use mock authenticator for integration tests
mockAuth := &MockAuthenticator{}
client, err := NewClient(mockAuth, session, "")
assert.NoError(t, err)
client.HTTPClient.SetBaseURL(mockServer.URL())