:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(cdp): update template shas after the blank destination went stable (#115900)
Thomas Obermüller205a87a706fe
diff --git a/posthog/cdp/templates/test_cdp_templates.py b/posthog/cdp/templates/test_cdp_templates.pyindex b4d26517dcaa..661b58ca2f0e 100644--- a/posthog/cdp/templates/test_cdp_templates.py+++ b/posthog/cdp/templates/test_cdp_templates.py@@ -41,15 +41,15 @@ class TestTemplatesGeneral(BaseTest):template_id = template_data.idtemplate = sync_template_to_db(template_data)assert HogFunctionTemplate.objects.filter(template_id=template_id).count() == 1- assert template.sha == "5c60cf91"+ assert template.sha == "545f510d"template_data_dict = dataclasses.asdict(template_data)template = sync_template_to_db(template_data_dict) # Test it as a dictionary- assert template.sha == "5c60cf91"+ assert template.sha == "545f510d"assert HogFunctionTemplate.objects.filter(template_id=template_id).count() == 1template_data_dict["code"] = "return 1"template = sync_template_to_db(template_data_dict)- assert template.sha == "a3ed949c"+ assert template.sha == "f5ed2f87"assert template.code == "return 1"assert HogFunctionTemplate.objects.filter(template_id=template_id).count() == 1