diff options
| author | Max Resnick <max@ofmax.li> | 2023-01-29 07:16:25 -0800 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2023-01-29 07:16:25 -0800 |
| commit | 45a8dfd3ba345eebe268fc92d31612e14907fb01 (patch) | |
| tree | a6a0eff5eaec8f252da23477d73d742d8a867ada /internal/admin/model_test.go | |
| parent | 0ac7b93645b169c55f9c50423fab9d4a402e9918 (diff) | |
| download | go-git-server-45a8dfd3ba345eebe268fc92d31612e14907fb01.tar.gz | |
Fixes tests, use correct config file name
Diffstat (limited to '')
| -rw-r--r-- | internal/admin/model_test.go | 4 |
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) } |