forked from forgejo/forgejo
Unit tests for models/admin
This commit is contained in:
parent
97170916a3
commit
b316b2e740
3 changed files with 126 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue