Commit 75860da6 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Allow path access during testing

Fixes: https://gitlab.com/gitlab-org/gitlab-ee/issues/8504
parent c64d11fc
...@@ -69,7 +69,9 @@ describe Projects::UpdateRepositoryStorageService do ...@@ -69,7 +69,9 @@ describe Projects::UpdateRepositoryStorageService do
context 'when the move succeeds' do context 'when the move succeeds' do
it 'moves the repository and its wiki to the new storage and unmarks the repository as read only' do it 'moves the repository and its wiki to the new storage and unmarks the repository as read only' do
old_path = project.repository.path_to_repo old_path = Gitlab::GitalyClient::StorageSettings.allow_disk_access do
project.repository.path_to_repo
end
old_wiki_path = project.wiki.full_path old_wiki_path = project.wiki.full_path
expect(repository_double).to receive(:fetch_repository_as_mirror) expect(repository_double).to receive(:fetch_repository_as_mirror)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment