summaryrefslogtreecommitdiffstats
path: root/models/admin_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Move user functions into user.go (#17659)Lunny Xiao2021-11-181-115/+0
| | | | | * Move user functions into user.go * Fix test
* A better go code formatter, and now `make fmt` can run in Windows (#17684)wxiaoguang2021-11-171-0/+1
| | | | * go build / format tools * re-format imports
* Decouple unit test, remove intermediate `unittestbridge` package (#17662)wxiaoguang2021-11-161-25/+24
| | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Decouple unit test code from business code (#17623)wxiaoguang2021-11-121-8/+9
|
* 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