We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb8c9b commit 8f8dd8cCopy full SHA for 8f8dd8c
models/issues/comment_test.go
@@ -50,7 +50,9 @@ func Test_UpdateCommentAttachment(t *testing.T) {
50
51
comment := unittest.AssertExistsAndLoadBean(t, &issues_model.Comment{ID: 1})
52
attachment := repo_model.Attachment{
53
- Name: "test.txt",
+ Name: "test.txt",
54
+ Status: db.FileStatusNormal,
55
+ UUID: "test-uuid",
56
}
57
assert.NoError(t, db.Insert(db.DefaultContext, &attachment))
58
0 commit comments