summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_mercurial_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-03-22 16:34:59 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-03-22 16:34:59 +0000
commit8de1d87e70b3940d66ebc18a825728cf20e40430 (patch)
treeb0227538be1b9930db84ad7ceb32f5233eca32b4 /test/unit/repository_mercurial_test.rb
parent20ab5cb4dd8e856bed688d8d8e1cb2c1cd81312f (diff)
downloadredmine-8de1d87e70b3940d66ebc18a825728cf20e40430.tar.gz
redmine-8de1d87e70b3940d66ebc18a825728cf20e40430.zip
scm: mercurial: update test repository (#23055)
git-svn-id: http://svn.redmine.org/redmine/trunk@19607 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_mercurial_test.rb')
-rw-r--r--test/unit/repository_mercurial_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb
index b7a2f0fff..54a58931e 100644
--- a/test/unit/repository_mercurial_test.rb
+++ b/test/unit/repository_mercurial_test.rb
@@ -25,7 +25,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
include Redmine::I18n
REPOSITORY_PATH = Rails.root.join('tmp/test/mercurial_repository').to_s
- NUM_REV = 34
+ NUM_REV = 36
def setup
User.current = nil
@@ -167,7 +167,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
@repository.fetch_changesets
@project.reload
assert_equal NUM_REV, @repository.changesets.count
- assert_equal 46, @repository.filechanges.count
+ assert_equal 48, @repository.filechanges.count
rev0 = @repository.changesets.find_by_revision('0')
assert_equal "Initial import.\nThe repository contains 3 files.",
rev0.comments
@@ -590,7 +590,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
@repository.fetch_changesets
@project.reload
assert_equal NUM_REV, @repository.changesets.count
- [(NUM_REV - 1).to_s, "2e6d54642923", "2e6d5"].each do |r1|
+ [(NUM_REV - 1).to_s, "3e998343166a", "3e998"].each do |r1|
changeset = @repository.find_changeset_by_name(r1)
assert_nil changeset.next
end