diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-19 11:02:24 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-19 11:02:24 +0000 |
commit | 4daed3c8678d2afce69cbd626d309b6ce3cfc913 (patch) | |
tree | 690c8be1648d457b6cf5f684ea08bb0fd19569ea /test/test_helper.rb | |
parent | 85f5cbc77880dff69fc12716b8157fb0bdaaa664 (diff) | |
download | redmine-4daed3c8678d2afce69cbd626d309b6ce3cfc913.tar.gz redmine-4daed3c8678d2afce69cbd626d309b6ce3cfc913.zip |
Merged r22458, r22459, r22460, r22461, r22462 and r22464 from trunk to 5.1-stable (#39437).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22467 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index c5fe079c8..19fa1ca4f 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -203,6 +203,10 @@ class ActiveSupport::TestCase Redmine::Database.mysql? end + def mysql8? + Gem::Version.new(Redmine::Database.mysql_version) >= Gem::Version.new('8.0.0') + end + def postgresql? Redmine::Database.postgresql? end |