Lunny Xiao
b8911fb456
Use a struct as test options ( #19393 )
...
* Use a struct as test options
* Fix name
* Fix test
3 years ago
wxiaoguang
df64fa4865
Decouple unit test code from business code ( #17623 )
3 years ago
Lunny Xiao
a4bfef265d
Move db related basic functions to models/db ( #17075 )
...
* 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>
3 years ago
Lunny Xiao
1bfb0a24d8
Refactor routers directory ( #15800 )
...
* refactor routers directory
* move func used for web and api to common
* make corsHandler a function to prohibit side efects
* rm unused func
Co-authored-by: 6543 <6543@obermui.de>
4 years ago
Ethan Koenig
91f3d77ceb
Unit tests for wiki routers ( #3022 )
7 years ago
Lauris BH
f189ccd2d6
Fix git hooks update to receive required arguments. Fixes #2090 ( #2095 )
...
* Changed migration calling so that migrations can use models package
8 years ago