summaryrefslogtreecommitdiffstats
path: root/integrations/api_branch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_branch_test.go')
-rw-r--r--integrations/api_branch_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_branch_test.go b/integrations/api_branch_test.go
index fddbe4e40e..037a42deec 100644
--- a/integrations/api_branch_test.go
+++ b/integrations/api_branch_test.go
@@ -14,7 +14,7 @@ import (
)
func testAPIGetBranch(t *testing.T, branchName string, exists bool) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
session := loginUser(t, "user2")
token := getTokenForLoggedInUser(t, session)