diff options
Diffstat (limited to 'integrations/org_test.go')
-rw-r--r-- | integrations/org_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/integrations/org_test.go b/integrations/org_test.go index d86c82989d..b0212f4af7 100644 --- a/integrations/org_test.go +++ b/integrations/org_test.go @@ -13,7 +13,7 @@ import ( ) func TestOrgRepos(t *testing.T) { - prepareTestEnv(t) + defer prepareTestEnv(t)() var ( users = []string{"user1", "user2"} @@ -43,7 +43,7 @@ func TestOrgRepos(t *testing.T) { } func TestLimitedOrg(t *testing.T) { - prepareTestEnv(t) + defer prepareTestEnv(t)() // not logged in user req := NewRequest(t, "GET", "/limited_org") @@ -73,7 +73,7 @@ func TestLimitedOrg(t *testing.T) { } func TestPrivateOrg(t *testing.T) { - prepareTestEnv(t) + defer prepareTestEnv(t)() // not logged in user req := NewRequest(t, "GET", "/privated_org") |