Skip to content

Commit

Permalink
Assessed support for 4.1.4. Workaround to target RM 4.1.4.stable
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrossello committed Aug 1, 2021
1 parent ce2d740 commit a3881ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' }
}

Expand Down
3 changes: 2 additions & 1 deletion test/functional/issues_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3881ff

Please sign in to comment.