summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-07-08 20:35:16 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-07-08 20:35:16 +0000
commitc1eff66f683174b6ee7ad128bef530f1927f8ea1 (patch)
tree5e96a2dca6cab171555e9c86719e8a98915b4db9 /test/integration
parentb2b2c52b78eebd31328d790a08088f4ded033337 (diff)
downloadredmine-c1eff66f683174b6ee7ad128bef530f1927f8ea1.tar.gz
redmine-c1eff66f683174b6ee7ad128bef530f1927f8ea1.zip
Truncate git authors to 255 characters (#40948).
The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this. Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22910 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/repositories_git_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/repositories_git_test.rb b/test/integration/repositories_git_test.rb
index 67c61575c..8a33c356e 100644
--- a/test/integration/repositories_git_test.rb
+++ b/test/integration/repositories_git_test.rb
@@ -26,7 +26,7 @@ class RepositoriesGitTest < Redmine::IntegrationTest
REPOSITORY_PATH = Rails.root.join('tmp/test/git_repository').to_s
REPOSITORY_PATH.tr!('/', "\\") if Redmine::Platform.mswin?
PRJ_ID = 3
- NUM_REV = 28
+ NUM_REV = 29
def setup
User.current = nil