Skip to content

Commit af7c4fc

Browse files
committed
Adjust policy_test tests to change
1 parent 2e85f14 commit af7c4fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

castai/policies/gke/policy_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package gke
22

33
import (
4-
"github.com/stretchr/testify/require"
54
"testing"
5+
6+
"github.com/stretchr/testify/require"
67
)
78

89
func TestPolicies(t *testing.T) {
@@ -21,7 +22,7 @@ func TestPolicies(t *testing.T) {
2122
if !contains(userpolicy, wantClustersGet) || !contains(userpolicy, wantZonesGet) {
2223
t.Fatalf("generated User policy document does not contain required policies")
2324
}
24-
require.Equal(t, 38, len(userpolicy))
25+
require.Equal(t, 39, len(userpolicy))
2526
})
2627
t.Run("LoadBalancersTargetBackendPools policy", func(t *testing.T) {
2728
lbTbpPolicy, err := GetLoadBalancersTargetBackendPoolsPolicy()

0 commit comments

Comments
 (0)