diff options
Diffstat (limited to 'models/wiki_test.go')
-rw-r--r-- | models/wiki_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/wiki_test.go b/models/wiki_test.go index c816a17558..80f6df55ec 100644 --- a/models/wiki_test.go +++ b/models/wiki_test.go @@ -145,7 +145,7 @@ func TestRepository_InitWiki(t *testing.T) { func TestRepository_LocalWikiPath(t *testing.T) { PrepareTestEnv(t) repo := AssertExistsAndLoadBean(t, &Repository{ID: 1}).(*Repository) - expected := filepath.Join(setting.AppDataPath, "tmp/local-wiki/1") + expected := filepath.Join(setting.AppDataPath, setting.Repository.Local.LocalWikiPath, "1") assert.Equal(t, expected, repo.LocalWikiPath()) } |