aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import_test.go
diff options
context:
space:
mode:
authorSteve Moyer <smoyer1@selesy.com>2022-06-16 09:02:52 -0400
committerSteve Moyer <smoyer1@selesy.com>2022-06-16 09:02:52 -0400
commit1d4667c825bb5d291070bd4463c39a16f950f674 (patch)
tree84f1101f4cddc3804955c2c2ff90e3687c1dafee /bridge/gitlab/import_test.go
parentd853a6fbc996762ab264452150558bb92bdbd6fc (diff)
downloadgit-bug-1d4667c825bb5d291070bd4463c39a16f950f674.tar.gz
refactor(809): eliminate need to defer CleanupTestRepos()
Diffstat (limited to 'bridge/gitlab/import_test.go')
-rw-r--r--bridge/gitlab/import_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go
index 1405e43b..676e8749 100644
--- a/bridge/gitlab/import_test.go
+++ b/bridge/gitlab/import_test.go
@@ -29,8 +29,7 @@ func TestGitlabImport(t *testing.T) {
t.Skip("Env var GITLAB_PROJECT_ID missing")
}
- repo := repository.CreateGoGitTestRepo(false)
- defer repository.CleanupTestRepos(repo)
+ repo := repository.CreateGoGitTestRepo(t, false)
backend, err := cache.NewRepoCache(repo)
require.NoError(t, err)