summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-04-14 05:40:20 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-04-14 05:40:20 +0000
commitea7ea681894a96a671736f7d6f2d0765e746963c (patch)
tree8032cbe89042885761a73eded512b3c7173487c4
parentbcb81e0d2cbca834ca3eb044f7f16a9e91b7d33b (diff)
downloadredmine-ea7ea681894a96a671736f7d6f2d0765e746963c.tar.gz
redmine-ea7ea681894a96a671736f7d6f2d0765e746963c.zip
scm: subversion: use NUM_REV at RepositorySubversionTest#test_next_nil for easy test repository update
git-svn-id: http://svn.redmine.org/redmine/trunk@19697 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/repository_subversion_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_subversion_test.rb b/test/unit/repository_subversion_test.rb
index efe7d3cb0..3fdf4ef68 100644
--- a/test/unit/repository_subversion_test.rb
+++ b/test/unit/repository_subversion_test.rb
@@ -278,7 +278,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase
@repository.fetch_changesets
@project.reload
assert_equal NUM_REV, @repository.changesets.count
- changeset = @repository.find_changeset_by_name('12')
+ changeset = @repository.find_changeset_by_name(NUM_REV.to_s)
assert_nil changeset.next
end
else