summaryrefslogtreecommitdiffstats
path: root/integrations/api_repo_git_blobs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_repo_git_blobs_test.go')
-rw-r--r--integrations/api_repo_git_blobs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_repo_git_blobs_test.go b/integrations/api_repo_git_blobs_test.go
index ad81299ba4..675916eeaa 100644
--- a/integrations/api_repo_git_blobs_test.go
+++ b/integrations/api_repo_git_blobs_test.go
@@ -15,7 +15,7 @@ import (
)
func TestAPIReposGitBlobs(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
user2 := models.AssertExistsAndLoadBean(t, &models.User{ID: 2}).(*models.User) // owner of the repo1 & repo16
user3 := models.AssertExistsAndLoadBean(t, &models.User{ID: 3}).(*models.User) // owner of the repo3
user4 := models.AssertExistsAndLoadBean(t, &models.User{ID: 4}).(*models.User) // owner of neither repos