Skip to content

Commit 0fc7fca

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3ecdb0c of spec repo
1 parent 76bfb79 commit 0fc7fca

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.5.1.dev2",
7-
"regenerated": "2021-11-26 10:29:43.003956",
8-
"spec_repo_commit": "fdabc88"
7+
"regenerated": "2021-11-27 18:18:17.828430",
8+
"spec_repo_commit": "3ecdb0c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-11-26 10:29:43.022631",
13-
"spec_repo_commit": "fdabc88"
12+
"regenerated": "2021-11-27 18:18:17.846769",
13+
"spec_repo_commit": "3ecdb0c"
1414
}
1515
}
1616
}

tests/scenarios/features/v1/events.feature

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ Feature: Events
4444
When the request is sent
4545
Then the response status is 202 OK
4646

47+
Scenario: Post an event in the past returns "Bad Request" response
48+
Given new "CreateEvent" request
49+
And body with value {"title": "{{ unique }}", "text": "A text message.", "date_happened": 1, "tags": ["test:{{ unique_alnum }}"]}
50+
When the request is sent
51+
Then the response status is 400 Bad Request
52+
And the response "errors[0]" is equal to "Event too far in the past"
53+
4754
@generated @skip
4855
Scenario: Query the event stream returns "Bad Request" response
4956
Given a valid "appKeyAuth" key in the system

0 commit comments

Comments
 (0)