aboutsummaryrefslogtreecommitdiffstats
path: root/models/test_fixtures.go
Commit message (Collapse)AuthorAgeFilesLines
* Move db related basic functions to models/db (#17075)Lunny Xiao2021-09-191-112/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Create Proper Migration Tests (#15116)zeripath2021-03-241-8/+18
| | | | | | | | | | | | | | * Create Proper Migration tests Unfortunately our testing regime has so far meant that migrations do not get proper testing. This PR begins the process of creating migration tests for this. * Add test for v176 * fix mssql drop db Signed-off-by: Andrew Thornton <art27@cantab.net>
* upgrade to use testfixtures v3 (#11904)techknowlogick2020-06-171-5/+35
| | | | | | | | | | | | | | | * upgrade to use testfixtures v3 * simplify logic * make vendor * update per @lunny * Update templates/repo/empty.tmpl * Update templates/repo/empty.tmpl Co-authored-by: Lauris BH <lauris@nix.lv>
* Upgrade xorm to v1.0.0 (#10646)Lunny Xiao2020-03-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upgrade xorm to v1.0.0 * small nit * Fix tests * Update xorm * Update xorm * fix go.sum * fix test * Fix bug when dump * Fix bug * update xorm to latest * Fix migration test * update xorm to latest * Fix import order * Use xorm tag
* Testing: Update postgres sequences (#9304)zeripath2019-12-101-0/+32
|
* Increase the retry limit to 20 times and the interval to 200ms (#5134)Mura Li2018-10-211-2/+9
| | | | The original settings has less tolerance and would fail on some environments.
* Retry test-fixtures loading in case of transaction rollback (#5125)Mura Li2018-10-201-1/+10
|
* Integration test framework (#1290)Ethan Koenig2017-04-251-0/+23
* Integration test framework * udpate drone sign * Formatting fixes and move router.go to routers/ * update sign for drone