diff options
Diffstat (limited to 'integrations/api_repo_git_trees_test.go')
-rw-r--r-- | integrations/api_repo_git_trees_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_repo_git_trees_test.go b/integrations/api_repo_git_trees_test.go index 95da7738f2..6b4e120dec 100644 --- a/integrations/api_repo_git_trees_test.go +++ b/integrations/api_repo_git_trees_test.go @@ -12,7 +12,7 @@ import ( ) func TestAPIReposGitTrees(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 |