1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-09 20:17:21 +00:00

Missed defer prepareTestEnv (#9285)

* onGiteaRun should defer the cleanup from prepareTestEnv

* Some more missed defers
This commit is contained in:
zeripath
2019-12-08 01:14:50 +00:00
committed by GitHub
parent 37e10d4543
commit 3da6d256f4
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ import (
)
func TestGPGGit(t *testing.T) {
prepareTestEnv(t)
defer prepareTestEnv(t)()
username := "user2"
// OK Set a new GPG home