From fe5c6cebf1e0a1367d24cb3fa314949380268d32 Mon Sep 17 00:00:00 2001 From: Nicolas Ontiveros Date: Wed, 27 Sep 2023 14:14:15 -0700 Subject: [PATCH] unit test --- pkg/frontend/openshiftcluster_putorpatch_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/frontend/openshiftcluster_putorpatch_test.go b/pkg/frontend/openshiftcluster_putorpatch_test.go index a0bae2c8248..289bae3f92d 100644 --- a/pkg/frontend/openshiftcluster_putorpatch_test.go +++ b/pkg/frontend/openshiftcluster_putorpatch_test.go @@ -637,8 +637,9 @@ func TestPutOrPatchOpenShiftClusterAdminAPI(t *testing.T) { Type: "Microsoft.RedHatOpenShift/openShiftClusters", Tags: map[string]string{"tag": "will-be-kept"}, Properties: api.OpenShiftClusterProperties{ - ProvisioningState: api.ProvisioningStateSucceeded, - MaintenanceTask: "", + ProvisioningState: api.ProvisioningStateSucceeded, + LastProvisioningState: api.ProvisioningStateSucceeded, + MaintenanceTask: "", }, }, }) @@ -691,8 +692,7 @@ func TestPutOrPatchOpenShiftClusterAdminAPI(t *testing.T) { Type: "Microsoft.RedHatOpenShift/openShiftClusters", Tags: map[string]string{"tag": "will-be-kept"}, Properties: admin.OpenShiftClusterProperties{ - ProvisioningState: admin.ProvisioningStateSucceeded, - LastProvisioningState: admin.ProvisioningStateSucceeded, + ProvisioningState: admin.ProvisioningStateSucceeded, ClusterProfile: admin.ClusterProfile{ FipsValidatedModules: admin.FipsValidatedModulesDisabled, },