Skip to content

Commit a6b4a7c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[monitors] Avoid inconsistent result in production for user templates (#3241)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 79a29ec commit a6b4a7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/resources/com/datadog/api/client/v2/api/monitors.feature

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ Feature: Monitors
241241
And operation "ListMonitorUserTemplates" enabled
242242
When the request is sent
243243
Then the response status is 200 OK
244-
And the response "data" has length 1
244+
And the response "data" has item with field "type" with value "monitor-user-template"
245+
And the response "data" has item with field "id" with value "{{ monitor_user_template.data.id }}"
246+
And the response "data" has item with field "attributes.description" with value "It's a threshold"
247+
And the response "data" has item with field "attributes.monitor_definition.message" with value "cats"
245248

246249
@skip-validation @team:DataDog/monitor-app
247250
Scenario: Update a monitor notification rule returns "Bad Request" response

0 commit comments

Comments
 (0)