From c469e1194204f3b9e0e4a25129eb2291f659d90f Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Larsen Date: Sun, 18 Feb 2018 13:32:00 +0100 Subject: [PATCH] Test adding certs in createStack --- aws/cf_test.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/aws/cf_test.go b/aws/cf_test.go index 0c72620c..140353ef 100644 --- a/aws/cf_test.go +++ b/aws/cf_test.go @@ -19,7 +19,15 @@ func TestCreatingStack(t *testing.T) { }{ { "successful-call", - stackSpec{name: "foo", securityGroupID: "bar", vpcID: "baz"}, + stackSpec{ + name: "foo", + securityGroupID: "bar", + vpcID: "baz", + certificateARNs: map[string]time.Time{ + "arn-default": time.Time{}, + "arn-second": time.Time{}, + }, + }, cfMockOutputs{createStack: R(mockCSOutput("fake-stack-id"), nil)}, "fake-stack-id", false,