Skip to content

Commit

Permalink
fix(cli): java init template used deleted API "synthesizeStack" (aws#…
Browse files Browse the repository at this point in the history
…2687)

tested against a failing integ test
  • Loading branch information
Elad Ben-Israel authored May 30, 2019
1 parent b2feaee commit 50d71bf
Showing 1 changed file with 1 addition and 1 deletion.
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.synthesizeStack(stack.getName()).getTemplate());
JsonNode actual = JSON.valueToTree(app.run().getStack(stack.getName()).getTemplate());
JsonNode expected = JSON.readTree(getClass().getResource("expected.cfn.json"));
assertEquals(expected, actual);
}
Expand Down

0 comments on commit 50d71bf

Please sign in to comment.