summaryrefslogtreecommitdiffstats
path: root/integrations/change_default_branch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/change_default_branch_test.go')
-rw-r--r--integrations/change_default_branch_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/change_default_branch_test.go b/integrations/change_default_branch_test.go
index dbd189cd28..dcd6d9b08b 100644
--- a/integrations/change_default_branch_test.go
+++ b/integrations/change_default_branch_test.go
@@ -13,7 +13,7 @@ import (
)
func TestChangeDefaultBranch(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
repo := models.AssertExistsAndLoadBean(t, &models.Repository{ID: 1}).(*models.Repository)
owner := models.AssertExistsAndLoadBean(t, &models.User{ID: repo.OwnerID}).(*models.User)