From a3881ff928d07d15e84a1fbc41c58495d6d031ce Mon Sep 17 00:00:00 2001 From: Massimo Rossello Date: Sun, 1 Aug 2021 22:57:04 +0200 Subject: [PATCH] Assessed support for 4.1.4. Workaround to target RM 4.1.4.stable --- init.rb | 6 +++--- test/functional/issues_controller_test.rb | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/init.rb b/init.rb index 0201009e9..d793567d2 100644 --- a/init.rb +++ b/init.rb @@ -30,10 +30,10 @@ description 'Allows to run the Redmine test suite along with plugin tests, considering the different behaviors introduced by supported plugins over the Redmine default behavior. Unsupported plugins are signaled in the logs.' - version '4.1.3' + version '4.1.4' url 'https://github.com/maxrossello/redmine_testsuites.git' author_url 'https://github.com/maxrossello' - requires_redmine :version => '4.1.3' + requires_redmine :version => '4.1.4.stable' unless Redmine::VERSION.to_s == '4.1.4.stable' end #Rails.application.config.active_support.test_order = :sorted @@ -47,7 +47,7 @@ redmine_extended_watchers: { tilde_greater_than: '4.1.0' }, redmine_pluggable_themes: { tilde_greater_than: '4.1.0' }, redmine_themes: { tilde_greater_than: '4.1.0' }, - redwine: { version: '4.1.3' }, + redwine: { tilde_greater_than: '4.1.4' }, sidebar_hide: { version_or_higher: '4.1.0' } } diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 93fa26768..b05e76284 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -5705,7 +5705,8 @@ def test_put_with_spent_time_when_assigned_to_of_private_issue_is_update_at_the_ ) end assert_select '#errorExplanation', {text: /Log time is invalid/, count: 0} - assert_select '#errorExplanation', {text: /Issue is invalid/, count: 0} + #assert_select '#errorExplanation', {text: /Issue is invalid/, count: 0} + assert_select '#errorExplanation', {text: /#{I18n.t(:field_issue)} #{I18n.t('activerecord.errors.messages.invalid')}/, count: 0} assert_redirected_to action: 'show', id: private_issue.id assert_not private_issue.reload.visible? end