Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(ingress): key the golden delivery on the manifest's dedup header

Yudhi Armyndharise17f40dcbbc9
diff --git a/src/modules/integration/ingress-golden.spec.ts b/src/modules/integration/ingress-golden.spec.ts
index e629788b8..0e7d81e23 100644
--- a/src/modules/integration/ingress-golden.spec.ts
+++ b/src/modules/integration/ingress-golden.spec.ts
@@ -31,8 +31,9 @@ describe('Integration SDK v1 golden contract — Chatwoot message_created', () =
prefix: 'sha256=',
timestampHeader: 'X-Chatwoot-Timestamp',
toleranceSec: 300,
+ // Where a real manifest declares it, in the provider's casing; the request below sends it lower-cased.
+ dedupHeader: 'X-Chatwoot-Delivery',
},
- dedupHeader: 'x-chatwoot-delivery',
});
const resolveInstance = () =>