Skip to content

Commit

Permalink
fix test (widdix#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig authored Nov 15, 2019
1 parent bfa4ac3 commit f1444af
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@ public void testGSI() {
try {
this.createStack(stackName,
"state/dynamodb.yaml",
new Parameter()
.withParameterKey("PartitionKeyName").withParameterValue("id")
.withParameterKey("SortKeyName").withParameterValue("timestamp")
.withParameterKey("Attribute1Name").withParameterValue("organisation")
.withParameterKey("Attribute2Name").withParameterValue("category")
.withParameterKey("Index1PartitionKeyName").withParameterValue("timestamp")
.withParameterKey("Index2PartitionKeyName").withParameterValue("organisation")
.withParameterKey("Index2SortKeyName").withParameterValue("timestamp")
new Parameter().withParameterKey("PartitionKeyName").withParameterValue("id"),
new Parameter().withParameterKey("SortKeyName").withParameterValue("timestamp"),
new Parameter().withParameterKey("Attribute1Name").withParameterValue("organisation"),
new Parameter().withParameterKey("Attribute2Name").withParameterValue("category"),
new Parameter().withParameterKey("Index1PartitionKeyName").withParameterValue("timestamp"),
new Parameter().withParameterKey("Index2PartitionKeyName").withParameterValue("organisation"),
new Parameter().withParameterKey("Index2SortKeyName").withParameterValue("category")
);
// TODO how can we check if this stack works?
} finally {
Expand Down

0 comments on commit f1444af

Please sign in to comment.