From cdaefbf04a3c4be2480f692212815c763e781414 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sun, 21 Sep 2025 18:28:25 +0200 Subject: [PATCH] Fix flaky test case ensure the user filter is set on the rule so notification triggers only when expected. Signed-off-by: Nicola Murino --- internal/common/protocol_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/common/protocol_test.go b/internal/common/protocol_test.go index 144063eb..fed19e68 100644 --- a/internal/common/protocol_test.go +++ b/internal/common/protocol_test.go @@ -7397,6 +7397,9 @@ func TestEventRuleEmailField(t *testing.T) { Trigger: dataprovider.EventTriggerProviderEvent, Conditions: dataprovider.EventConditions{ ProviderEvents: []string{"add"}, + Options: dataprovider.ConditionOptions{ + ProviderObjects: []string{"user"}, + }, }, Actions: []dataprovider.EventAction{ {