Skip to content

Commit

Permalink
fix: use empty space as default value
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 committed Apr 8, 2024
1 parent e21024d commit 2fa3faa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"sourceKeys": ["properties.tr", "properties.ran_site_id", "properties.ranSiteID"],
"destKey": "tr",
"metadata": {
"defaultValue": "0000"
"defaultValue": " "
}
},
{
Expand Down
5 changes: 2 additions & 3 deletions test/integrations/destinations/rakuten/processor/track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,7 @@ export const trackSuccess = [
{
id: 'rakuten-test-track-success-5',
name: 'rakuten',
description:
'Track call with properties.products with all properties in payload and one product containing all product properties and other containg some',
description: 'Track call no ranSiteId in input',
scenario: 'Business',
successCriteria:
'Response should contain only properties with tr as empty string (ransiteId) and product payload and status code should be 200',
Expand Down Expand Up @@ -545,7 +544,7 @@ export const trackSuccess = [
itmstatuslist: 'In Stock||',
isclearancelist: 'Y||',
ord: 'SampleOrderId',
tr: '0000',
tr: ' ',
land: '20240129_1200',
date: '20240129_1300',
altord: 'SampleAlternateOrderId',
Expand Down

0 comments on commit 2fa3faa

Please sign in to comment.