mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-21 06:03:10 +00:00
Fix test
This commit is contained in:
parent
ccb8c9b770
commit
8f8dd8cae1
@ -50,7 +50,9 @@ func Test_UpdateCommentAttachment(t *testing.T) {
|
||||
|
||||
comment := unittest.AssertExistsAndLoadBean(t, &issues_model.Comment{ID: 1})
|
||||
attachment := repo_model.Attachment{
|
||||
Name: "test.txt",
|
||||
Name: "test.txt",
|
||||
Status: db.FileStatusNormal,
|
||||
UUID: "test-uuid",
|
||||
}
|
||||
assert.NoError(t, db.Insert(db.DefaultContext, &attachment))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user