Increases number of revisions and fileschanges in test/unit/repository_git_test.rb (#40948).

git-svn-id: https://svn.redmine.org/redmine/trunk@22924 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-07-13 09:34:40 +00:00
parent 47d7dd0187
commit 20dcd39f42

View File

@@ -30,7 +30,7 @@ class RepositoryGitTest < ActiveSupport::TestCase
REPOSITORY_UTF8_PATH = Rails.root.join('tmp/test/git_utf8_repository').to_s
REPOSITORY_UTF8_PATH.tr!('/', "\\") if Redmine::Platform.mswin?
NUM_REV = 28
NUM_REV = 29
NUM_HEAD = 8
def setup
@@ -135,7 +135,7 @@ class RepositoryGitTest < ActiveSupport::TestCase
@project.reload
assert_equal NUM_REV, @repository.changesets.count
assert_equal 39, @repository.filechanges.count
assert_equal 40, @repository.filechanges.count
commit = @repository.changesets.find_by_revision("7234cb2750b63f47bff735edc50a1c0a433c2518")
assert_equal "7234cb2750b63f47bff735edc50a1c0a433c2518", commit.scmid