mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-20 08:50:21 +00:00
test: hook post-receive for sha256 repos
failing push-to-create for sha256 will be fixed in a followup PR
(cherry picked from commit 2ac3dcbd43
)
This commit is contained in:
parent
fa448e2293
commit
6de1f714f3
4 changed files with 152 additions and 136 deletions
|
@ -64,7 +64,7 @@ func testPushDeployKeyOnEmptyRepo(t *testing.T, u *url.URL) {
|
|||
// Setup the testing repository
|
||||
dstPath := t.TempDir()
|
||||
|
||||
t.Run("InitTestRepository", doGitInitTestRepository(dstPath))
|
||||
t.Run("InitTestRepository", doGitInitTestRepository(dstPath, git.Sha1ObjectFormat)) // FIXME: use forEachObjectFormat
|
||||
|
||||
// Setup remote link
|
||||
sshURL := createSSHUrl(ctx.GitPath(), u)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue