Skip to content

Commit

Permalink
remove manual merge switch off
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath committed Apr 9, 2021
1 parent bc144b6 commit 1488f79
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions integrations/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,15 +442,6 @@ func doMergeFork(ctx, baseCtx APITestContext, baseBranch, headBranch string) fun
var pr api.PullRequest
var err error

trueBool := true
falseBool := false

t.Run("AllowSetManuallyMergedAndSwitchOffAutodetectManualMerge", doAPIEditRepository(baseCtx, &api.EditRepoOption{
HasPullRequests: &trueBool,
AllowManualMerge: &trueBool,
AutodetectManualMerge: &falseBool,
}))

// Create a test pullrequest
t.Run("CreatePullRequest", func(t *testing.T) {
pr, err = doAPICreatePullRequest(ctx, baseCtx.Username, baseCtx.Reponame, baseBranch, headBranch)(t)
Expand Down

0 comments on commit 1488f79

Please sign in to comment.