summaryrefslogtreecommitdiffstats
path: root/integrations/api_repo_topic_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_repo_topic_test.go')
-rw-r--r--integrations/api_repo_topic_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_repo_topic_test.go b/integrations/api_repo_topic_test.go
index 34c33d1b25..b96489ae22 100644
--- a/integrations/api_repo_topic_test.go
+++ b/integrations/api_repo_topic_test.go
@@ -16,7 +16,7 @@ import (
)
func TestAPIRepoTopic(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
user2 := models.AssertExistsAndLoadBean(t, &models.User{ID: 2}).(*models.User) // owner of repo2
user3 := models.AssertExistsAndLoadBean(t, &models.User{ID: 3}).(*models.User) // owner of repo3
user4 := models.AssertExistsAndLoadBean(t, &models.User{ID: 4}).(*models.User) // write access to repo 3