diff options
author | Lauris BH <lauris@nix.lv> | 2018-01-11 01:46:59 +0200 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-01-11 00:46:59 +0100 |
commit | be1330ec89308f76557bd7fc708b1f16c703f429 (patch) | |
tree | abdcd377f6be772aa38e9840b683e09f52a5d5c4 /integrations/integration_test.go | |
parent | d8dff304c0a6abb471051e968f6bdb69679b9a2a (diff) | |
download | gitea-be1330ec89308f76557bd7fc708b1f16c703f429.tar.gz gitea-be1330ec89308f76557bd7fc708b1f16c703f429.zip |
Remove hardcoded paths to fix randomly failing tests (#3347)
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
Diffstat (limited to 'integrations/integration_test.go')
-rw-r--r-- | integrations/integration_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/integrations/integration_test.go b/integrations/integration_test.go index f3dc98219f..664290cc9d 100644 --- a/integrations/integration_test.go +++ b/integrations/integration_test.go @@ -138,6 +138,7 @@ func prepareTestEnv(t testing.TB) { assert.NoError(t, models.LoadFixtures()) assert.NoError(t, os.RemoveAll(setting.RepoRootPath)) assert.NoError(t, os.RemoveAll(models.LocalCopyPath())) + assert.NoError(t, os.RemoveAll(models.LocalWikiPath())) assert.NoError(t, com.CopyDir(path.Join(filepath.Dir(setting.AppPath), "integrations/gitea-repositories-meta"), setting.RepoRootPath)) |