diff --git a/pkg/telemetrymetrics/condition_builder_test.go b/pkg/telemetrymetrics/condition_builder_test.go index 7e264af654..9d6ae2e53e 100644 --- a/pkg/telemetrymetrics/condition_builder_test.go +++ b/pkg/telemetrymetrics/condition_builder_test.go @@ -93,7 +93,7 @@ func TestConditionFor(t *testing.T) { }, operator: qbtypes.FilterOperatorNotILike, value: "%admin%", - expectedSQL: "WHERE LOWER(JSONExtractString(labels, 'user.id')) NOT LIKE LOWER(?)", + expectedSQL: "LOWER(JSONExtractString(labels, 'user.id')) NOT LIKE LOWER(?)", expectedArgs: []any{"%admin%"}, expectedError: nil, },