1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
This commit is contained in:
shivkumar dudhani 2019-09-03 15:02:00 -07:00
parent fa53519e2a
commit 786cbf5522

View file

@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"
kubepolicy "github.com/nirmata/kyverno/pkg/api/kyverno/v1alpha1"
kyverno "github.com/nirmata/kyverno/pkg/api/kyverno/v1alpha1"
"gotest.tools/assert"
)
@ -1566,7 +1566,7 @@ func TestValidate_ServiceTest(t *testing.T) {
}
`)
var policy kubepolicy.Policy
var policy kyverno.ClusterPolicy
json.Unmarshal(rawPolicy, &policy)
resourceUnstructured, err := ConvertToUnstructured(rawResource)
@ -1663,7 +1663,7 @@ func TestValidate_MapHasFloats(t *testing.T) {
}
`)
var policy kubepolicy.Policy
var policy kyverno.ClusterPolicy
json.Unmarshal(rawPolicy, &policy)
resourceUnstructured, err := ConvertToUnstructured(rawResource)