Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mderynck committed Dec 6, 2024
1 parent 033292e commit bda28d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion engine/apps/api/tests/test_alert_receive_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -2719,7 +2719,12 @@ def test_alert_receive_channel_integration_options_search(
response = client.get(search_url, format="json", **make_user_auth_headers(user, token))
assert response.status_code == status.HTTP_200_OK
returned_choices = [i["display_name"] for i in response.json()]
assert returned_choices == ["Grafana Alerting", "Grafana Legacy Alerting", "(Deprecated) Grafana Alerting"]
assert returned_choices == [
"Grafana Alerting",
"Grafana Legacy Alerting",
"(Deprecated) Grafana Alerting",
"Adaptive Grafana Alerting",
]

search_url = f"{url}?search=notfound"
response = client.get(search_url, format="json", **make_user_auth_headers(user, token))
Expand Down

0 comments on commit bda28d2

Please sign in to comment.