Skip to content

Commit 172a0f4

Browse files
committed
Fix test
1 parent c0ada5d commit 172a0f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/unit_tests.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func MainTest(m *testing.M, pathToGiteaRoot string) {
6969
}
7070

7171
setting.Attachment.Path = filepath.Join(setting.AppDataPath, "attachments")
72+
setting.LFS.ContentPath = filepath.Join(setting.AppDataPath, "lfs")
7273
if err = storage.Init(); err != nil {
7374
fatalTestError("storage.Init: %v\n", err)
7475
}

0 commit comments

Comments
 (0)