summaryrefslogtreecommitdiffstats
path: root/models/update_test.go
Commit message (Collapse)AuthorAgeFilesLines
* move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)Lunny Xiao2019-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move code.gitea.io/git to code.gitea.io/gitea/modules/git * fix imports * fix fmt * fix misspell * remove wrong tests data * fix unit tests * fix tests * fix tests * fix tests * fix tests * fix tests * enable Debug to trace the failure tests * fix tests * fix tests * fix tests * fix tests * fix tests * comment commit count tests since git clone depth is 50 * fix tests * update from code.gitea.io/git * revert change to makefile
* Fix tests code to prevent some runtime errors (#2381)Morlinest2017-08-281-10/+10
| | | | | | * Fix tests code to prevent some runtime errors * Reduce nesting
* Move push update to post-receive and protected branch check to pre-receive ↵Lunny Xiao2017-02-251-34/+0
| | | | | | | | | | | | (#1030) * move all push update to git hook post-receive and protected branch check to git hook pre-receive * add SSH_ORIGINAL_COMMAND check back * remove all unused codes * fix the import
* Less boilerplate in models/ unit tests (#725)Ethan Koenig2017-01-251-12/+2
|
* Better coverage and TODOs for update_test (#616)Ethan Koenig2017-01-091-0/+6
|
* Unit tests for token and update modelsEthan Koenig2016-12-311-0/+124