summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-12-11 06:42:29 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-12-11 06:42:29 +0000
commit710ee4d17f8131f656effb13576f5ca4a6bfc040 (patch)
tree9d3a73294a53a7fc4369d3dfabbdcf96bc720501 /test/functional/issues_controller_test.rb
parent9f10fe565f413a33f3ea56638390b2da21dac8e7 (diff)
downloadredmine-710ee4d17f8131f656effb13576f5ca4a6bfc040.tar.gz
redmine-710ee4d17f8131f656effb13576f5ca4a6bfc040.zip
Merge r23388 from trunk to 6.0-stable (#41918).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23389 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index fbe512122..643345eac 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -5993,7 +5993,10 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_response :success
reason = l(:notice_issue_not_closable_by_blocking_issue)
- assert_select 'span.icon-warning[title=?]', reason, :text => reason
+ assert_select 'span.icon-warning[title=?]', reason do
+ assert_select "svg.icon-svg use:match('href', ?)", /assets\/icons-\w+.svg#icon--warning/
+ assert_select 'span.icon-label', test: reason
+ end
end
def test_get_edit_should_display_visible_spent_time_custom_field