Skip to content

Commit 05db201

Browse files
committed
Fix tests
1 parent a1e3eb9 commit 05db201

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/cloud/services/eks/oidc_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ func TestOIDCReconcile(t *testing.T) {
6969
}).Return(&iam.CreateOpenIDConnectProviderOutput{
7070
OpenIDConnectProviderArn: aws.String("arn::oidc"),
7171
}, nil)
72+
m.TagOpenIDConnectProvider(&iam.TagOpenIDConnectProviderInput{
73+
OpenIDConnectProviderArn: aws.String("arn::oidc"),
74+
Tags: []*iam.Tag{},
75+
}).Return(&iam.TagOpenIDConnectProviderOutput{}, nil)
7276
},
7377
},
7478
{
@@ -101,6 +105,10 @@ func TestOIDCReconcile(t *testing.T) {
101105
ThumbprintList: aws.StringSlice([]string{"15dbd260c7465ecca6de2c0b2181187f66ee0d1a"}),
102106
Url: &url,
103107
}, nil)
108+
m.TagOpenIDConnectProvider(&iam.TagOpenIDConnectProviderInput{
109+
OpenIDConnectProviderArn: aws.String("arn::oidc"),
110+
Tags: []*iam.Tag{},
111+
}).Return(&iam.TagOpenIDConnectProviderOutput{}, nil)
104112
},
105113
},
106114
}

0 commit comments

Comments
 (0)