aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/git_clone_wiki_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/git_clone_wiki_test.go')
-rw-r--r--tests/integration/git_clone_wiki_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration/git_clone_wiki_test.go b/tests/integration/git_clone_wiki_test.go
index 4bdbc9b7c3..3e10b17d40 100644
--- a/tests/integration/git_clone_wiki_test.go
+++ b/tests/integration/git_clone_wiki_test.go
@@ -35,8 +35,7 @@ func TestRepoCloneWiki(t *testing.T) {
onGiteaRun(t, func(t *testing.T, u *url.URL) {
defer tests.PrepareTestEnv(t)()
- dstPath, err := os.MkdirTemp("", "clone_wiki")
- assert.NoError(t, err)
+ dstPath := t.TempDir()
r := fmt.Sprintf("%suser2/repo1.wiki.git", u.String())
u, _ = url.Parse(r)