From e1e0f74c3fd21b7a2122559a3268277b489a502b Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:04:43 +0000 Subject: [PATCH] Remove unused enable in test (#2261) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- examples/v2/service-scorecards/CreateScorecardRule.go | 1 - tests/scenarios/features/v2/service_scorecards.feature | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 7f7fbd75878..acb9f8ebab2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2023-11-06 14:29:55.363679", - "spec_repo_commit": "c1794418" + "regenerated": "2023-11-06 16:31:23.277431", + "spec_repo_commit": "62fc6756" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2023-11-06 14:29:55.381450", - "spec_repo_commit": "c1794418" + "regenerated": "2023-11-06 16:31:23.296834", + "spec_repo_commit": "62fc6756" } } } \ No newline at end of file diff --git a/examples/v2/service-scorecards/CreateScorecardRule.go b/examples/v2/service-scorecards/CreateScorecardRule.go index bcc33c57e35..f7fa4a62f40 100644 --- a/examples/v2/service-scorecards/CreateScorecardRule.go +++ b/examples/v2/service-scorecards/CreateScorecardRule.go @@ -26,7 +26,6 @@ func main() { ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() configuration.SetUnstableOperationEnabled("v2.CreateScorecardRule", true) - configuration.SetUnstableOperationEnabled("v2.CreateScorecardOutcomesBatch", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewServiceScorecardsApi(apiClient) resp, r, err := api.CreateScorecardRule(ctx, body) diff --git a/tests/scenarios/features/v2/service_scorecards.feature b/tests/scenarios/features/v2/service_scorecards.feature index e3b1af4d273..8d17ab58538 100644 --- a/tests/scenarios/features/v2/service_scorecards.feature +++ b/tests/scenarios/features/v2/service_scorecards.feature @@ -20,7 +20,6 @@ Feature: Service Scorecards @team:DataDog/service-catalog Scenario: Create a new rule returns "Created" response Given operation "CreateScorecardRule" enabled - And operation "CreateScorecardOutcomesBatch" enabled And new "CreateScorecardRule" request And body with value {"data": {"attributes": {"enabled": true, "name": "{{unique}}", "scorecard_name": "Observability Best Practices"}, "type": "rule"}} When the request is sent