summaryrefslogtreecommitdiffstats
path: root/models/main_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Decouple unit test, remove intermediate `unittestbridge` package (#17662)wxiaoguang2021-11-161-1/+1
| | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Decouple unit test code from business code (#17623)wxiaoguang2021-11-121-4/+12
|
* Move db related basic functions to models/db (#17075)Lunny Xiao2021-09-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add gitea-vet (#10948)John Olheiser2020-04-051-0/+4
| | | | | | | | | | | | | | | | | * Add copyright Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add gitea-vet and fix non-compliance Signed-off-by: jolheiser <john.olheiser@gmail.com> * Combine tools.go into build.go and clean up Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove extra GO111MODULE=on Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Unit tests for wiki routers (#3022)Ethan Koenig2017-11-301-19/+1
|
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-031-19/+1
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* Fix compiling without sqlite and gcc (#2177)Lauris BH2017-07-261-0/+19
|
* Run unused testEthan Koenig2017-06-041-0/+8
|
* Fix and test for delete user (#1713)Ethan Koenig2017-05-201-0/+26
* Fix and test for delete user * Run updates in batches * Unit test