Skip to content

Commit 11a5954

Browse files
fix existing test
1 parent 22be3e9 commit 11a5954

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

integrations/git_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ func doProtectBranch(ctx APITestContext, branch string, userToWhitelist string)
385385
req := NewRequestWithValues(t, "POST", fmt.Sprintf("/%s/%s/settings/branches/%s", url.PathEscape(ctx.Username), url.PathEscape(ctx.Reponame), url.PathEscape(branch)), map[string]string{
386386
"_csrf": csrf,
387387
"protected": "on",
388+
"enable_push": "whitelist",
388389
"enable_whitelist": "on",
389390
"whitelist_users": strconv.FormatInt(user.ID, 10),
390391
})

0 commit comments

Comments
 (0)