GitLab ist wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht erreichbar.

Commit 97e6ec39 authored by tmaruyama's avatar tmaruyama

scm: bazaar: do not use file:// for repository path at unit app test

git-svn-id: https://svn.redmine.org/redmine/trunk@10387 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent cd718df2
......@@ -23,13 +23,12 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
include Redmine::I18n
REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository/trunk').to_s
REPOSITORY_PATH.gsub!(/\/+/, '/')
NUM_REV = 4
def setup
@project = Project.find(3)
@repository = Repository::Bazaar.create(
:project => @project, :url => "file:///#{REPOSITORY_PATH}",
:project => @project, :url => REPOSITORY_PATH,
:log_encoding => 'UTF-8')
assert @repository
end
......
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