mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-24 14:53:51 +00:00
Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697)
This commit is contained in:
@@ -223,7 +223,7 @@ func Test_coding(t *testing.T) {
|
||||
req.Header = http.Header{}
|
||||
req.Header.Set(hookEvent, hookPush)
|
||||
|
||||
r, _, err := c.Hook(req)
|
||||
r, _, err := c.Hook(ctx, req)
|
||||
g.Assert(err).IsNil()
|
||||
g.Assert(r.FullName).Equal("demo1/test1")
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user