From 57d323f7b825529a0b8f066d28f7dc8f2c0859fe Mon Sep 17 00:00:00 2001 From: Anant Jain Date: Wed, 11 Oct 2023 10:40:30 +0530 Subject: [PATCH] brands test case added --- test/__tests__/data/snapchat_conversion.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/__tests__/data/snapchat_conversion.json b/test/__tests__/data/snapchat_conversion.json index 159e73dc57..8c01a4d1d2 100644 --- a/test/__tests__/data/snapchat_conversion.json +++ b/test/__tests__/data/snapchat_conversion.json @@ -933,6 +933,7 @@ "type": "track", "event": "Order Completed", "properties": { + "brands": ["brand01", "brand02"], "products": [ { "product_id": "123", @@ -940,7 +941,7 @@ "quantity": 1 }, { - "product_id": "123", + "product_id": "124", "price": 14, "quantity": 3 } @@ -973,7 +974,8 @@ "body": { "JSON": { "event_type": "PURCHASE", - "item_ids": ["123", "123"], + "item_ids": ["123", "124"], + "brands": ["brand01", "brand02"], "price": "56", "hashed_email": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2", "hashed_phone_number": "bc77d64d7045fe44795ed926df37231a0cfb6ec6b74588c512790e9f143cc492",