Skip to content

Commit

Permalink
Added test for GET /_plugins/_sql/stats. (#721)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock authored Dec 10, 2024
1 parent 4f28c29 commit def47a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/default/sql/stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ $schema: ../../../json_schemas/test_story.schema.yaml
description: Test get SQL Queries stats.

chapters:
- synopsis: Get stats from SQL Query.
- synopsis: Get stats from SQL Query (POST).
path: /_plugins/_sql/stats
method: POST
response:
status: 200
content_type: text/plain
- synopsis: Get stats from SQL Query (GET).
path: /_plugins/_sql/stats
method: GET
response:
status: 200
content_type: text/plain

0 comments on commit def47a7

Please sign in to comment.