1
0
Fork 0
forked from forgejo/forgejo

Unit tests for models/admin

This commit is contained in:
Ethan Koenig 2017-01-09 13:26:05 -05:00 committed by Kim "BKC" Carlbäcker
parent 97170916a3
commit b316b2e740
3 changed files with 126 additions and 1 deletions

View file

@ -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.