mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-02 05:53:01 +09:00
Decouple unit test, remove intermediate unittestbridge
package (#17662)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@ -88,7 +88,7 @@ func TestUpdateAttachment(t *testing.T) {
|
||||
attach.Name = "new_name"
|
||||
assert.NoError(t, UpdateAttachment(attach))
|
||||
|
||||
db.AssertExistsAndLoadBean(t, &Attachment{Name: "new_name"})
|
||||
unittest.AssertExistsAndLoadBean(t, &Attachment{Name: "new_name"})
|
||||
}
|
||||
|
||||
func TestGetAttachmentsByUUIDs(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user