summaryrefslogtreecommitdiffstats
path: root/integrations/api_repo_raw_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_repo_raw_test.go')
-rw-r--r--integrations/api_repo_raw_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_repo_raw_test.go b/integrations/api_repo_raw_test.go
index d8da9c831d..62b734fa06 100644
--- a/integrations/api_repo_raw_test.go
+++ b/integrations/api_repo_raw_test.go
@@ -12,7 +12,7 @@ import (
)
func TestAPIReposRaw(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
user := models.AssertExistsAndLoadBean(t, &models.User{ID: 2}).(*models.User)
// Login as User2.
session := loginUser(t, user.Name)