mirror of
https://github.com/go-gitea/gitea.git
synced 2025-01-20 10:54:32 +01:00
fmt
This commit is contained in:
parent
1d2f466f10
commit
5b50ddfe22
@ -347,7 +347,7 @@ func doCreateProtectedBranch(baseCtx *APITestContext, dstPath string) func(t *te
|
||||
t.Run("PushProtectedBranch-UnprotectedFile", doGitPushTestRepository(dstPath, "origin", "release-v2.0"))
|
||||
t.Run("CheckoutMaster-UnprotectedFile", doGitCheckoutBranch(dstPath, "master"))
|
||||
|
||||
//push a new branch with a new protected file
|
||||
// push a new branch with a new protected file
|
||||
t.Run("CreateProtectedBranch-ProtectedFile", doGitCreateBranch(dstPath, "release-v3.0"))
|
||||
_, err = generateCommitWithNewData(testFileSizeSmall, dstPath, "user2@example.com", "User Two", "config")
|
||||
assert.NoError(t, err)
|
||||
|
Loading…
Reference in New Issue
Block a user