diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-04-14 05:40:20 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-04-14 05:40:20 +0000 |
commit | ea7ea681894a96a671736f7d6f2d0765e746963c (patch) | |
tree | 8032cbe89042885761a73eded512b3c7173487c4 | |
parent | bcb81e0d2cbca834ca3eb044f7f16a9e91b7d33b (diff) | |
download | redmine-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.rb | 2 |
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 |