mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
Unit tests for models/admin
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
97170916a3
commit
b316b2e740
@ -103,7 +103,7 @@ func CountNotices() int64 {
|
||||
return count
|
||||
}
|
||||
|
||||
// Notices returns number of notices in given page.
|
||||
// Notices returns notices in given page.
|
||||
func Notices(page, pageSize int) ([]*Notice, error) {
|
||||
notices := make([]*Notice, 0, pageSize)
|
||||
return notices, x.
|
||||
|
Reference in New Issue
Block a user