feat: add support for 1h response chart

This commit is contained in:
Tore Stendal Lønøy
2025-02-05 13:46:00 +01:00
parent ebda6c2c08
commit 4e3241f78c
3 changed files with 9 additions and 2 deletions

View File

@@ -39,6 +39,11 @@ func TestResponseTimeChart(t *testing.T) {
Gzip bool
}
scenarios := []Scenario{
{
Name: "chart-response-time-1h",
Path: "/api/v1/endpoints/core_backend/response-times/1h/chart.svg",
ExpectedCode: http.StatusOK,
},
{
Name: "chart-response-time-24h",
Path: "/api/v1/endpoints/core_backend/response-times/24h/chart.svg",