diff options
Diffstat (limited to 'modules/actions/workflows_test.go')
-rw-r--r-- | modules/actions/workflows_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/actions/workflows_test.go b/modules/actions/workflows_test.go index ef553c4a57..2d57f19488 100644 --- a/modules/actions/workflows_test.go +++ b/modules/actions/workflows_test.go @@ -125,7 +125,7 @@ func TestDetectMatched(t *testing.T) { evts, err := GetEventsFromContent([]byte(tc.yamlOn)) assert.NoError(t, err) assert.Len(t, evts, 1) - assert.Equal(t, tc.expected, detectMatched(tc.commit, tc.triggedEvent, tc.payload, evts[0])) + assert.Equal(t, tc.expected, detectMatched(nil, tc.commit, tc.triggedEvent, tc.payload, evts[0])) }) } } |