mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 01:44:26 +02:00
Merge remote-tracking branch 'upstream/main' into limit-repo-size
This commit is contained in:
141 files changed
+9259
-926
No files matched your search
@@ -88,7 +88,7 @@ func testPackageCargo(t *testing.T, _ *neturl.URL) {
|
||||
blob, err := commit.GetBlobByPath(path)
|
||||
assert.NoError(t, err)
|
||||
|
||||
content, err := blob.GetBlobContent()
|
||||
content, err := blob.GetBlobContent(1024)
|
||||
assert.NoError(t, err)
|
||||
|
||||
return content
|
||||
|
||||
@@ -34,7 +34,7 @@ func TestDeleteBranch(t *testing.T) {
|
||||
func TestUndoDeleteBranch(t *testing.T) {
|
||||
onGiteaRun(t, func(t *testing.T, u *url.URL) {
|
||||
deleteBranch(t)
|
||||
htmlDoc, name := branchAction(t, ".undo-button")
|
||||
htmlDoc, name := branchAction(t, ".restore-branch-button")
|
||||
assert.Contains(t,
|
||||
htmlDoc.doc.Find(".ui.positive.message").Text(),
|
||||
translation.NewLocale("en-US").Tr("repo.branch.restore_success", name),
|
||||
|
||||
Reference in new issue
Block a user