aboutsummaryrefslogtreecommitdiffstats
path: root/models/admin_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Move db related basic functions to models/db (#17075)Lunny Xiao2021-09-191-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | * Move db related basic functions to models/db * Fix lint * Fix lint * Fix test * Fix lint * Fix lint * revert unnecessary change * Fix test * Fix wrong replace string * Use *Context * Correct committer spelling and fix wrong replaced words Co-authored-by: zeripath <art27@cantab.net>
* Fix tests code to prevent some runtime errors (#2381)Morlinest2017-08-281-5/+7
| | | | | | * Fix tests code to prevent some runtime errors * Reduce nesting
* Unit tests for models/adminEthan Koenig2017-01-091-0/+111