aboutsummaryrefslogtreecommitdiffstats
path: root/repository/gogit_test.go
diff options
context:
space:
mode:
authorSteve Moyer <smoyer1@selesy.com>2022-05-25 07:55:28 -0400
committerSteve Moyer <smoyer1@selesy.com>2022-05-25 07:55:28 -0400
commitb42fae382af0a43b0d51fb312abd4ff55df43877 (patch)
treec1f46b2fadd29d9a2890ecc1b9991e367aac86f2 /repository/gogit_test.go
parent650c11dcb68bfe00e2d399c5e1d337cae9c1bfeb (diff)
downloadgit-bug-b42fae382af0a43b0d51fb312abd4ff55df43877.tar.gz
feat: make local storage configurable
Diffstat (limited to 'repository/gogit_test.go')
-rw-r--r--repository/gogit_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/repository/gogit_test.go b/repository/gogit_test.go
index a2bb49b9..941b563a 100644
--- a/repository/gogit_test.go
+++ b/repository/gogit_test.go
@@ -17,7 +17,7 @@ func TestNewGoGitRepo(t *testing.T) {
require.NoError(t, err)
defer os.RemoveAll(plainRoot)
- _, err = InitGoGitRepo(plainRoot)
+ _, err = InitGoGitRepo(plainRoot, testApplicationName)
require.NoError(t, err)
plainGitDir := filepath.Join(plainRoot, ".git")
@@ -26,7 +26,7 @@ func TestNewGoGitRepo(t *testing.T) {
require.NoError(t, err)
defer os.RemoveAll(bareRoot)
- _, err = InitBareGoGitRepo(bareRoot)
+ _, err = InitBareGoGitRepo(bareRoot, testApplicationName)
require.NoError(t, err)
bareGitDir := bareRoot
@@ -52,7 +52,7 @@ func TestNewGoGitRepo(t *testing.T) {
}
for i, tc := range tests {
- r, err := OpenGoGitRepo(tc.inPath, nil)
+ r, err := OpenGoGitRepo(tc.inPath, testApplicationName, nil)
if tc.err {
require.Error(t, err, i)