mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 02:08:36 +00:00
Fix unit tests by updating fixtures and updating outdated test
Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
@@ -55,5 +55,5 @@ func TestFetchCodeComments(t *testing.T) {
|
||||
user2 := AssertExistsAndLoadBean(t, &User{ID: 2}).(*User)
|
||||
res, err = FetchCodeComments(issue, user2)
|
||||
assert.NoError(t, err)
|
||||
assert.Empty(t, res)
|
||||
assert.Len(t, res, 1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user