Skip to content

Commit

Permalink
chore: address comments+4
Browse files Browse the repository at this point in the history
  • Loading branch information
anantjain45823 committed Oct 8, 2024
1 parent d48399a commit 89e20f7
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 56 deletions.
9 changes: 0 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
"oauth-1.0a": "^2.2.6",
"object-hash": "^3.0.0",
"parse-static-imports": "^1.1.0",
"phone": "^3.1.50",
"prom-client": "^14.2.0",
"qs": "^6.11.1",
"rs-jsonpath": "^1.1.2",
Expand Down
92 changes: 46 additions & 46 deletions test/integrations/destinations/amazon_audience/processor/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,50 +197,50 @@ export const data = [
},
},
},
// {
// name: 'amazon_audience',
// id: 'Test 3',
// description: 'Type Validation case',
// successCriteria: 'It should be passed with 200 Ok giving validation error',
// feature: 'processor',
// module: 'destination',
// version: 'v0',
// input: {
// request: {
// body: [
// {
// destination,
// message: {
// type: 'identify',
// context: {},
// recordId: '1',
// },
// metadata: generateMetadata(1),
// },
// ],
// },
// },
// output: {
// response: {
// status: 200,
// body: [
// {
// metadata: generateMetadata(1),
// statusCode: 400,
// error: '[AMAZON AUDIENCE]: identify is not supported',
// statTags: {
// errorCategory: 'dataValidation',
// destinationId: 'default-destinationId',
// errorType: 'instrumentation',
// destType: 'AMAZON_AUDIENCE',
// module: 'destination',
// implementation: 'native',
// workspaceId: 'default-workspaceId',
// feature: 'processor',
// },
// },
// ],
// },
// },
// },
{
name: 'amazon_audience',
id: 'Test 3',
description: 'Type Validation case',
successCriteria: 'It should be passed with 200 Ok giving validation error',
feature: 'processor',
module: 'destination',
version: 'v0',
input: {
request: {
body: [
{
destination,
message: {
type: 'identify',
context: {},
recordId: '1',
},
metadata: generateMetadata(1),
},
],
},
},
output: {
response: {
status: 200,
body: [
{
metadata: generateMetadata(1),
statusCode: 400,
error: '[AMAZON AUDIENCE]: identify is not supported',
statTags: {
errorCategory: 'dataValidation',
destinationId: 'default-destinationId',
errorType: 'instrumentation',
destType: 'AMAZON_AUDIENCE',
module: 'destination',
implementation: 'native',
workspaceId: 'default-workspaceId',
feature: 'processor',
},
},
],
},
},
},
];

0 comments on commit 89e20f7

Please sign in to comment.