diff options
author | zeripath <art27@cantab.net> | 2020-04-28 09:32:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 09:32:23 +0100 |
commit | 1f0b797ddc139c3241c9b9694f0666a28ab41d80 (patch) | |
tree | dc2341417062baf75e21bf48b91b3169b47a1a28 /build.go | |
parent | b0849abf3d9b25d06ab8099c62409d87d9a0ca86 (diff) | |
download | gitea-1f0b797ddc139c3241c9b9694f0666a28ab41d80.tar.gz gitea-1f0b797ddc139c3241c9b9694f0666a28ab41d80.zip |
Make the PushCreate test declarative (#11229)
Reduce the code duplication in the PushCreate test and switch
to a declarative format.
* Instead of explicitly creating the repository re-use functions from the other declarative tests and add comments
* Ensure that the test repository is deleted at the end of test
* Slightly reorder the sub-tests
Also reduce the code duplication in MergeFork and add some comments there too and make doGitCloneFail be self-contained.
Signed-off-by: Andrew Thornton art27@cantab.net
Diffstat (limited to 'build.go')
0 files changed, 0 insertions, 0 deletions