Skip to content

Commit bc35723

Browse files
committed
fix test
re-worded an error message
1 parent ed6de45 commit bc35723

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/sentry/explore/endpoints/test_explore_saved_queries.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,9 @@ def test_post_metrics_dataset_requires_metric_field(self) -> None:
12731273
},
12741274
)
12751275
assert response.status_code == 400, response.content
1276-
assert "Metric field is required for metrics dataset" in str(response.data)
1276+
assert "Metric field is required for non-equation queries on the metrics dataset" in str(
1277+
response.data
1278+
)
12771279

12781280
def test_save_with_start_and_end_time(self) -> None:
12791281
with self.feature(self.features):

0 commit comments

Comments
 (0)