aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/model_test.go
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2023-01-29 07:16:25 -0800
committerMax Resnick <max@ofmax.li>2023-01-29 07:16:25 -0800
commit45a8dfd3ba345eebe268fc92d31612e14907fb01 (patch)
treea6a0eff5eaec8f252da23477d73d742d8a867ada /internal/admin/model_test.go
parent0ac7b93645b169c55f9c50423fab9d4a402e9918 (diff)
downloadgo-git-server-45a8dfd3ba345eebe268fc92d31612e14907fb01.tar.gz
Fixes tests, use correct config file name
Diffstat (limited to '')
-rw-r--r--internal/admin/model_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/admin/model_test.go b/internal/admin/model_test.go
index e8f6e33..85ca8f4 100644
--- a/internal/admin/model_test.go
+++ b/internal/admin/model_test.go
@@ -78,9 +78,9 @@ func TestConfigReconcile(t *testing.T) {
tempDir := t.TempDir()
// make "fake" repo
testRepo := filepath.Join(tempDir, "testrepo.git")
- testConf := filepath.Join(testRepo, "conf")
+ testConf := filepath.Join(testRepo, "config")
os.Mkdir(testRepo, 0750)
- f, err := os.Create(filepath.Join(testRepo, "conf"))
+ f, err := os.Create(filepath.Join(testRepo, "config"))
if err != nil {
t.Fatalf("couldn't create testdir, %s", err)
}