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
zeripath
39ef6f83d5
Create Proper Migration Tests ( #15116 )
...
* 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>
4 years ago
techknowlogick
9e6a79bea9
upgrade to use testfixtures v3 ( #11904 )
...
* 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>
4 years ago
Lunny Xiao
c61b902538
Upgrade xorm to v1.0.0 ( #10646 )
...
* 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
5 years ago
zeripath
d3a9c4ceec
Testing: Update postgres sequences ( #9304 )
5 years ago
Mura Li
9458880c06
Increase the retry limit to 20 times and the interval to 200ms ( #5134 )
...
The original settings has less tolerance and would fail on some
environments.
6 years ago
Mura Li
583b1b8429
Retry test-fixtures loading in case of transaction rollback ( #5125 )
6 years ago
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago