From a19afbada515e3c1d32c1f011d5ceb61c29f4830 Mon Sep 17 00:00:00 2001 From: Yi Tao Date: Tue, 3 Sep 2024 17:54:48 +0800 Subject: [PATCH] change importas name --- test/integration/test_konnect_entities.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/test_konnect_entities.go b/test/integration/test_konnect_entities.go index e629df7f2..a80f84eab 100644 --- a/test/integration/test_konnect_entities.go +++ b/test/integration/test_konnect_entities.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/Kong/sdk-konnect-go/models/components" + sdkkonnectcomp "github.com/Kong/sdk-konnect-go/models/components" "github.com/google/uuid" "github.com/samber/lo" "github.com/stretchr/testify/assert" @@ -61,9 +61,9 @@ func TestKonnectEntities(t *testing.T) { Namespace: ns.Name, }, Spec: konnectv1alpha1.KonnectControlPlaneSpec{ - CreateControlPlaneRequest: components.CreateControlPlaneRequest{ + CreateControlPlaneRequest: sdkkonnectcomp.CreateControlPlaneRequest{ Name: cpName, - ClusterType: lo.ToPtr(components.ClusterTypeClusterTypeControlPlane), + ClusterType: lo.ToPtr(sdkkonnectcomp.ClusterTypeClusterTypeControlPlane), Labels: map[string]string{"test_id": testID}, }, KonnectConfiguration: konnectv1alpha1.KonnectConfiguration{