Skip to content

Commit

Permalink
fix failing test with invalid mocked input
Browse files Browse the repository at this point in the history
  • Loading branch information
adammw committed Sep 17, 2024
1 parent c192252 commit e2353cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cloud/services/eks/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ func TestCreateIPv6Cluster(t *testing.T) {
eksMock.EXPECT().CreateCluster(&eks.CreateClusterInput{
Name: aws.String("cluster-name"),
Version: aws.String("1.22"),
RoleArn: aws.String("arn:role"),
EncryptionConfig: []*eks.EncryptionConfig{
{
Provider: &eks.Provider{
Expand All @@ -875,6 +876,7 @@ func TestCreateIPv6Cluster(t *testing.T) {
RoleName: aws.String("arn-role"),
}).Return(&iam.GetRoleOutput{
Role: &iam.Role{
Arn: aws.String("arn:role"),
RoleName: ptr.To[string]("arn-role"),
},
}, nil)
Expand Down

0 comments on commit e2353cd

Please sign in to comment.