diff --git a/components/automate-gateway/integration/data_lifecycle_test.go b/components/automate-gateway/integration/data_lifecycle_test.go index 68704fcc36ed..127c1b7d2b19 100644 --- a/components/automate-gateway/integration/data_lifecycle_test.go +++ b/components/automate-gateway/integration/data_lifecycle_test.go @@ -58,12 +58,12 @@ func (suite *GatewayTestSuite) TestDataLifecycleConfigure() { oldStatus, err := dlClient.GetStatus(suite.ctx, &data_lifecycle.GetStatusRequest{}) suite.Require().NoError(err) - // Se + // Set each config individually newComplianceConfig := &data_lifecycle.SetComplianceConfigRequest{ JobSettings: []*data_lifecycle.JobSettings{ &data_lifecycle.JobSettings{ Name: compliancePurgeJobName, - Di + Disabled: true, Recurrence: testRecurrence, PurgePolicies: &data_lifecycle.PurgePolicyUpdate{ Elasticsearch: []*data_lifecycle.EsPolicyUpdate{ @@ -83,8 +83,6 @@ func (suite *GatewayTestSuite) TestDataLifecycleConfigure() { }, } - - newEventFeedConfig := &data_lifecycle.SetEventFeedConfigRequest{ JobSettings: []*data_lifecycle.JobSettings{ &data_lifecycle.JobSettings{ @@ -253,6 +251,7 @@ func (suite *GatewayTestSuite) TestDataLifecycleConfigure() { // if our job was successfully run. func (suite *GatewayTestSuite) TestDataLifecycleRun() { dlClient := data_lifecycle.NewDataLifecycleClient(suite.gwConn) + licenseClient, _ := suite.clients.LicenseControlClient() updateRequest := &license_control.UpdateRequest{ @@ -665,7 +664,6 @@ func (suite *GatewayTestSuite) TestConvertJobStatusToJobSetting() { licenseClient.Update(suite.ctx, updateRequest) generatedSettings := jobStatusesToJobSettings(statuses) - // Rather than deep compare our expected settings with the generated settings // we can assert that both match the statuses. suite.assertJobSettingsMatchJobStatus(generatedSettings, statuses)