diff options
Diffstat (limited to 'integrations/integration_test.go')
-rw-r--r-- | integrations/integration_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/integration_test.go b/integrations/integration_test.go index 4953eb280a..d43f3977b8 100644 --- a/integrations/integration_test.go +++ b/integrations/integration_test.go @@ -118,8 +118,8 @@ func initIntegrationTest() { func prepareTestEnv(t testing.TB) { assert.NoError(t, models.LoadFixtures()) - assert.NoError(t, os.RemoveAll("integrations/gitea-integration")) - assert.NoError(t, com.CopyDir("integrations/gitea-integration-meta", "integrations/gitea-integration")) + assert.NoError(t, os.RemoveAll(setting.RepoRootPath)) + assert.NoError(t, com.CopyDir("integrations/gitea-repositories-meta", setting.RepoRootPath)) } type TestSession struct { |