Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicl committed Apr 13, 2022
1 parent 366f3c7 commit f2a460d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/patterns/ec2-app/__snapshots__/base.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ Object {
"PropagateAtLaunch": true,
"Value": "guardian/cdk",
},
Object {
"Key": "LogKinesisStreamName",
"PropagateAtLaunch": true,
"Value": Object {
"Ref": "LoggingStreamName",
},
},
Object {
"Key": "Name",
"PropagateAtLaunch": true,
Expand Down Expand Up @@ -866,6 +873,13 @@ Object {
"PropagateAtLaunch": true,
"Value": "guardian/cdk",
},
Object {
"Key": "LogKinesisStreamName",
"PropagateAtLaunch": true,
"Value": Object {
"Ref": "LoggingStreamName",
},
},
Object {
"Key": "Name",
"PropagateAtLaunch": true,
Expand Down
3 changes: 3 additions & 0 deletions src/patterns/ec2-app/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ describe("the GuEC2App pattern", function () {
additionalTags: [
{ Key: "Name", Value: "Test/AutoScalingGroupPlayApp" },
{ Key: TagKeys.PATTERN_NAME, Value: "GuEc2App" },
{ Key: TagKeys.LOG_KINESIS_STREAM_NAME, Value: { Ref: "LoggingStreamName" } },
],
});

Expand All @@ -589,6 +590,7 @@ describe("the GuEC2App pattern", function () {
additionalTags: [
{ Key: "Name", Value: "Test/AutoScalingGroupNodeApp" },
{ Key: TagKeys.PATTERN_NAME, Value: "GuEc2App" },
{ Key: TagKeys.LOG_KINESIS_STREAM_NAME, Value: { Ref: "LoggingStreamName" } },
],
});
});
Expand Down Expand Up @@ -676,6 +678,7 @@ describe("the GuEC2App pattern", function () {
additionalTags: [
{ Key: "Name", Value: "Test/AutoScalingGroupApp" },
{ Key: TagKeys.PATTERN_NAME, Value: "GuEc2App" },
{ Key: TagKeys.LOG_KINESIS_STREAM_NAME, Value: { Ref: "LoggingStreamName" } },
],
});
});
Expand Down

0 comments on commit f2a460d

Please sign in to comment.