summaryrefslogtreecommitdiffstats
path: root/integrations/api_user_orgs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_user_orgs_test.go')
-rw-r--r--integrations/api_user_orgs_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/api_user_orgs_test.go b/integrations/api_user_orgs_test.go
index 6611a429d1..849cb74c46 100644
--- a/integrations/api_user_orgs_test.go
+++ b/integrations/api_user_orgs_test.go
@@ -16,7 +16,7 @@ import (
)
func TestUserOrgs(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
adminUsername := "user1"
normalUsername := "user2"
session := loginUser(t, adminUsername)
@@ -44,7 +44,7 @@ func TestUserOrgs(t *testing.T) {
}
func TestMyOrgs(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
normalUsername := "user2"
session := loginUser(t, normalUsername)