Commit ed4707a2 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'zj-fix-broken-wiki-test' into 'master'

Allow path access during testing

Closes #8504

See merge request gitlab-org/gitlab-ee!8532
parents c8986419 75860da6
......@@ -69,7 +69,9 @@ describe Projects::UpdateRepositoryStorageService 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
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
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