Skip to content

Commit

Permalink
unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Ontiveros authored and petrkotas committed Jul 18, 2023
1 parent f9a52c7 commit 2b152f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/frontend/openshiftcluster_putorpatch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ func TestPutOrPatchOpenShiftClusterAdminAPI(t *testing.T) {
c.AddAsyncOperationDocuments(&api.AsyncOperationDocument{
OpenShiftClusterKey: strings.ToLower(testdatabase.GetResourcePath(mockSubID, "resourceName")),
AsyncOperation: &api.AsyncOperation{
InitialProvisioningState: api.ProvisioningStateSucceeded,
InitialProvisioningState: api.ProvisioningStateUpdating,
ProvisioningState: api.ProvisioningStateUpdating,
},
})
Expand All @@ -605,7 +605,7 @@ func TestPutOrPatchOpenShiftClusterAdminAPI(t *testing.T) {
ClusterProfile: api.ClusterProfile{
FipsValidatedModules: api.FipsValidatedModulesDisabled,
},
MaintenanceTask: "",
MaintenanceTask: api.MaintenanceTaskPucmPending,
NetworkProfile: api.NetworkProfile{
OutboundType: api.OutboundTypeLoadbalancer,
PreconfiguredNSG: api.PreconfiguredNSGDisabled,
Expand All @@ -614,6 +614,7 @@ func TestPutOrPatchOpenShiftClusterAdminAPI(t *testing.T) {
EncryptionAtHost: api.EncryptionAtHostDisabled,
},
PucmPending: true,
OperatorFlags: api.DefaultOperatorFlags(),
},
},
})
Expand Down

0 comments on commit 2b152f8

Please sign in to comment.