1
0
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 07:05:58 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
kolaente
f9ec2f89f2 Add golangci () 2019-06-12 15:41:28 -04:00
Julien Tant
7781e8cef2 Disable merging a WIP Pull request ()
* prevent pull request to be merged when PR is a WIP

* add tests

* add helper to prepend WIP: in PR title

* move default wip prefixes into settings

* use configurable WIP prefixes in javascript and default to first one in templates

* add documentation

* add unit test on pull model

Signed-off-by: Julien Tant <julien@craftyx.fr>
2018-08-13 22:04:39 +03:00
Ethan Koenig
b496e3e1cc Fix unit test race condition () 2017-09-15 10:54:25 +03:00
Morlinest
8e61823ec4 Fix tests code to prevent some runtime errors ()
* Fix tests code to prevent some runtime errors

* Reduce nesting
2017-08-28 12:17:45 +03:00
Ethan Koenig
ceae143e78 Consistency checks for unit tests () 2017-02-07 19:47:55 +08:00
Lunny Xiao
bb5a6b7a07 fix xorm NewSession uncorrected usages () 2017-01-28 00:11:41 +08:00
Ethan Koenig
8093b3372e Less boilerplate in models/ unit tests () 2017-01-25 10:49:51 +08:00
Ethan Koenig
973282dae2 Better coverage in pull_test () 2017-01-09 11:15:07 +08:00
Ethan Koenig
72bfabfada Unit tests for models/pull.go 2017-01-06 10:08:23 -05:00