Unit-test the connector helper functions
The cassettes cannot reach these branches. Every fixture email is already lowercase, so nothing exercised the trim-and-lowercase that is the Google Analytics driver's whole merge key; likewise the Dotfile role casing and the Segment role dedup and case-insensitive owner match. The Dotfile and Square tests never asserted CreatedAt, which parseRFC3339Ptr silently nils on any format mismatch — both cassettes carry usable timestamps, so a dropped field looked like a clean pass. Also gives the Square OAuth variables their own comment in the example env file; they sat under the Google Analytics one. Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
This commit is contained in:
@@ -148,6 +148,7 @@
|
||||
# Google Analytics (GA4) OAuth (distinct from Google Workspace).
|
||||
# PROBOD_CONNECTOR_GOOGLE_ANALYTICS_CLIENT_ID=
|
||||
# PROBOD_CONNECTOR_GOOGLE_ANALYTICS_CLIENT_SECRET=
|
||||
# Square OAuth (EMPLOYEES_READ); customers may also use a personal access token.
|
||||
# PROBOD_CONNECTOR_SQUARE_CLIENT_ID=
|
||||
# PROBOD_CONNECTOR_SQUARE_CLIENT_SECRET=
|
||||
# PostHog Cloud (US + EU) OAuth needs NO config: it uses the CIMD public-client
|
||||
|
||||
Reference in New Issue
Block a user