Skip to content

Commit

Permalink
source-hubspot: nit: updating snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Luishfs committed Oct 25, 2024
1 parent 1ac1669 commit cdfe3fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"hs_target_account_recommendation_state": null,
"hs_time_in_customer": null,
"hs_time_in_evangelist": null,
"hs_time_in_lead": 22521849760,
"hs_time_in_lead": "redacted",
"hs_time_in_marketingqualifiedlead": null,
"hs_time_in_opportunity": null,
"hs_time_in_other": null,
Expand Down Expand Up @@ -334,7 +334,7 @@
"hs_target_account_recommendation_state": null,
"hs_time_in_customer": null,
"hs_time_in_evangelist": null,
"hs_time_in_lead": 22521817114,
"hs_time_in_lead": "redacted",
"hs_time_in_marketingqualifiedlead": null,
"hs_time_in_opportunity": null,
"hs_time_in_other": null,
Expand Down Expand Up @@ -534,7 +534,7 @@
"hs_target_account_recommendation_state": null,
"hs_time_in_customer": null,
"hs_time_in_evangelist": null,
"hs_time_in_lead": 22521902568,
"hs_time_in_lead": "redacted",
"hs_time_in_marketingqualifiedlead": null,
"hs_time_in_opportunity": null,
"hs_time_in_other": null,
Expand Down Expand Up @@ -728,7 +728,7 @@
"hs_target_account_recommendation_state": null,
"hs_time_in_customer": null,
"hs_time_in_evangelist": null,
"hs_time_in_lead": 22469508684,
"hs_time_in_lead": "redacted",
"hs_time_in_marketingqualifiedlead": null,
"hs_time_in_opportunity": null,
"hs_time_in_other": null,
Expand Down Expand Up @@ -8296,7 +8296,7 @@
"hs_ticket_id": 2371913597,
"hs_ticket_language_ai_tag": null,
"hs_ticket_priority": null,
"hs_time_in_1": 21858952407,
"hs_time_in_1": "redacted",
"hs_time_in_2": null,
"hs_time_in_3": null,
"hs_time_in_4": null,
Expand Down
5 changes: 5 additions & 0 deletions source-hubspot/tests/test_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ def test_capture(request, snapshot):
elif typ == "acmeCo/property_history":
rec["timestamp"] = "redacted"
rec["value"] = "redacted"
elif typ == "acmeCo/companies":
rec["properties"]["hs_time_in_lead"] = "redacted"
elif typ == "acmeCo/tickets":
rec["properties"]["hs_time_in_1"] = "redacted"


assert snapshot("capture.stdout.json") == lines

Expand Down

0 comments on commit cdfe3fb

Please sign in to comment.