grafana/pkg/tests
Steve Simpson e9fd191065
Alerting: Fix some status codes returned from provisioning API. (#90117)
The contact point deletion API was returning 500 when it should have been
returning a 4xx error, when the contact point is in use:

- When in use by a notificiation policy, we were missing
  the `.Errorf("")` to convert `errutil.Base` into `errutil.Error`.
- When in use by an alert rule, an regular error was returned.
2024-07-05 19:06:37 +02:00
..
api Alerting: Fix some status codes returned from provisioning API. (#90117) 2024-07-05 19:06:37 +02:00
apis Zanzana: Evaluate permissions alongside with RBAC engine (#90064) 2024-07-05 11:31:23 +02:00
testinfra Storage: Read desired mode from config instead of feature flags (#88353) 2024-05-31 19:29:59 +02:00
testsuite Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
web Session: set authID and authenticatedBy (#85806) 2024-04-11 10:25:29 +02:00
README.md Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00
utils.go User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00

Integration tests

This directory contains Grafana server integration tests.