aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/integration_test.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-12-10 16:52:05 -0800
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-12-11 08:52:05 +0800
commitd1efe2078a07f74db3f3ce6c33cf0a7da0dec18a (patch)
tree17eb9bbf5f75c12432e53db36bf216c48c7a0ff0 /integrations/integration_test.go
parent41d6afe0e7992567ac7c86cdd41b9226aae896d2 (diff)
downloadgitea-d1efe2078a07f74db3f3ce6c33cf0a7da0dec18a.tar.gz
gitea-d1efe2078a07f74db3f3ce6c33cf0a7da0dec18a.zip
Fix integration tests (#3141)
Diffstat (limited to 'integrations/integration_test.go')
-rw-r--r--integrations/integration_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/integrations/integration_test.go b/integrations/integration_test.go
index ee0b1a8868..f9e0d5f13c 100644
--- a/integrations/integration_test.go
+++ b/integrations/integration_test.go
@@ -136,6 +136,7 @@ func initIntegrationTest() {
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, com.CopyDir(path.Join(filepath.Dir(setting.AppPath), "integrations/gitea-repositories-meta"),
setting.RepoRootPath))