Skip to content

Commit a051809

Browse files
adammwjoshfrench
authored andcommitted
fix failing test with invalid mocked input
1 parent 87d2c1f commit a051809

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/cloud/services/eks/cluster_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ func TestCreateIPv6Cluster(t *testing.T) {
985985
eksMock.EXPECT().CreateCluster(context.TODO(), &eks.CreateClusterInput{
986986
Name: aws.String("cluster-name"),
987987
Version: aws.String("1.22"),
988+
RoleArn: aws.String("arn:role"),
988989
EncryptionConfig: []ekstypes.EncryptionConfig{
989990
{
990991
Provider: &ekstypes.Provider{
@@ -1008,6 +1009,7 @@ func TestCreateIPv6Cluster(t *testing.T) {
10081009
RoleName: aws.String("arn-role"),
10091010
}).Return(&iam.GetRoleOutput{
10101011
Role: &iamtypes.Role{
1012+
Arn: aws.String("arn:role"),
10111013
RoleName: aws.String("arn-role"),
10121014
},
10131015
}, nil)

0 commit comments

Comments
 (0)