Skip to content

Commit

Permalink
Remove unused enable in test (#2261)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 6, 2023
1 parent aa26c9a commit e1e0f74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
1 change: 0 additions & 1 deletion examples/v2/service-scorecards/CreateScorecardRule.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion tests/scenarios/features/v2/service_scorecards.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1e0f74

Please sign in to comment.