Skip to content

Commit

Permalink
fix(init): Correct java init template (#2889)
Browse files Browse the repository at this point in the history
Package name included capitalized Subscriptions in the package FQN, which is
incorrect.
  • Loading branch information
RomainMuller authored Jun 18, 2019
1 parent 23a143e commit b3b3ba9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import software.amazon.awscdk.services.iam.UserProps;
import software.amazon.awscdk.services.sns.Topic;
import software.amazon.awscdk.services.sns.TopicProps;
import software.amazon.awscdk.services.sns.Subscriptions.SqsSubscription;
import software.amazon.awscdk.services.sns.subscriptions.SqsSubscription;
import software.amazon.awscdk.services.sqs.Queue;
import software.amazon.awscdk.services.sqs.QueueProps;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void testStack() throws IOException {

// synthesize the stack to a CloudFormation template and compare against
// a checked-in JSON file.
JsonNode actual = JSON.valueToTree(app.run().getStack(stack.getName()).getTemplate());
JsonNode actual = JSON.valueToTree(app.run().getStack(stack.getStackName()).getTemplate());
JsonNode expected = JSON.readTree(getClass().getResource("expected.cfn.json"));
assertEquals(expected, actual);
}
Expand Down

0 comments on commit b3b3ba9

Please sign in to comment.