aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/repo_generate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/repo_generate_test.go')
-rw-r--r--integrations/repo_generate_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/repo_generate_test.go b/integrations/repo_generate_test.go
index b8f2a45e1e..1aa91236ea 100644
--- a/integrations/repo_generate_test.go
+++ b/integrations/repo_generate_test.go
@@ -55,13 +55,13 @@ func testRepoGenerate(t *testing.T, session *TestSession, templateOwnerName, tem
}
func TestRepoGenerate(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
session := loginUser(t, "user1")
testRepoGenerate(t, session, "user27", "template1", "user1", "generated1")
}
func TestRepoGenerateToOrg(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
session := loginUser(t, "user2")
testRepoGenerate(t, session, "user27", "template1", "user2", "generated2")
}