summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-07-13 09:34:40 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-07-13 09:34:40 +0000
commit20dcd39f4250b4df1216c34db0d76656fe0ecd0c (patch)
tree17c5148b9589852c81f8fa5c32035bf03b6fe03f /test
parent47d7dd0187c432a2236fec3510dbfbd1aa3efd4a (diff)
downloadredmine-20dcd39f4250b4df1216c34db0d76656fe0ecd0c.tar.gz
redmine-20dcd39f4250b4df1216c34db0d76656fe0ecd0c.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/unit/repository_git_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb
index 7f848c043..a46ee7abd 100644
--- a/test/unit/repository_git_test.rb
+++ b/test/unit/repository_git_test.rb
@@ -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