garth more done - stuck on tests

This commit is contained in:
2025-08-29 05:29:19 -07:00
parent 237e17fbb3
commit fd0924e85e
10 changed files with 90 additions and 29 deletions

View File

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