summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-12-10 23:31:14 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-12-10 23:31:14 +0000
commit910842a157a9fa663b13ddc6eb95359fd60482a1 (patch)
tree815a3db17a7cda823537f3ce040a48782ff85bcb /test/functional
parent4a74fcccae8099c17950340a6cfdbd54930cf495 (diff)
downloadredmine-910842a157a9fa663b13ddc6eb95359fd60482a1.tar.gz
redmine-910842a157a9fa663b13ddc6eb95359fd60482a1.zip
Fixes group icons not displayed only using the SVG icon (#41853).
git-svn-id: https://svn.redmine.org/redmine/trunk@23379 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/issues_controller_test.rb3
-rw-r--r--test/functional/messages_controller_test.rb3
-rw-r--r--test/functional/wiki_controller_test.rb3
3 files changed, 6 insertions, 3 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 3b7521d40..fbe512122 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -2827,7 +2827,8 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_select 'a[class*=delete]'
end
assert_select "li.user-10" do
- assert_select 'img.gravatar[title=?]', 'A Team'
+ assert_select 'a.group', :text => 'A Team'
+ assert_select 'svg'
assert_select 'a[href="/groups/10"]'
assert_select 'a[class*=delete]'
end
diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb
index c0723643b..494628b8c 100644
--- a/test/functional/messages_controller_test.rb
+++ b/test/functional/messages_controller_test.rb
@@ -106,7 +106,8 @@ class MessagesControllerTest < Redmine::ControllerTest
assert_select 'a[class*=delete]'
end
assert_select "li.user-10" do
- assert_select 'img.gravatar[title=?]', 'A Team', is_display_gravatar
+ assert_select 'a.group', :text => 'A Team'
+ assert_select 'svg'
assert_select 'a[href="/users/10"]', false
assert_select 'a[class*=delete]'
end
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index fdfaaf805..9d94f5c20 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -142,7 +142,8 @@ class WikiControllerTest < Redmine::ControllerTest
assert_select 'a[class*=delete]'
end
assert_select 'li.user-10' do
- assert_select 'img.gravatar[title=?]', 'A Team', is_display_gravatar
+ assert_select 'a.group', :text => 'A Team'
+ assert_select 'svg'
assert_select 'a[href="/users/10"]', false
assert_select 'a[class*=delete]'
end