Skip to content

Commit

Permalink
minor change to integ test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Nov 25, 2022
1 parent a59c34f commit c9135e8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
}
}
},
"ccd6298e7739310f41d0c551994f6e6f50b5dac678404846e18aecd0d18ff750": {
"4efc8f1a2c0b0f1f18d1cb27a1d752a4cd6b71b6676f0ee88ebdab71a7bdaffc": {
"source": {
"path": "LambdaDependenciesDefaultTestDeployAssert259C940B.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "ccd6298e7739310f41d0c551994f6e6f50b5dac678404846e18aecd0d18ff750.json",
"objectKey": "4efc8f1a2c0b0f1f18d1cb27a1d752a4cd6b71b6676f0ee88ebdab71a7bdaffc.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"flattenResponse": "false",
"salt": "1669210766331"
"salt": "1669400129606"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
Expand Down Expand Up @@ -188,7 +188,7 @@
}
},
"flattenResponse": "false",
"salt": "1669210766331"
"salt": "1669400129608"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/ccd6298e7739310f41d0c551994f6e6f50b5dac678404846e18aecd0d18ff750.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4efc8f1a2c0b0f1f18d1cb27a1d752a4cd6b71b6676f0ee88ebdab71a7bdaffc.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ for (const testCase of [sdkV2testCase, sdkV3testCase]) {
const response = integ.assertions.invokeFunction({
functionName: testCase.lambdaFunction.functionName,
});
response.expect(ExpectedResult.objectLike({
response.expect(ExpectedResult.exact({
// expect invoking without error
StatusCode: 200,
ExecutedVersion: '$LATEST',
Payload: 'null',
}));
}
Expand Down

0 comments on commit c9135e8

Please sign in to comment.