From ed866a45c56860da9ca4632a8bf2f8be23956c61 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Thu, 5 Sep 2024 20:56:39 +0000 Subject: [PATCH] Fixed tests (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23023 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/admin_controller_test.rb | 2 +- test/functional/projects_controller_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/admin_controller_test.rb b/test/functional/admin_controller_test.rb index 4594c76cd..41f12300f 100644 --- a/test/functional/admin_controller_test.rb +++ b/test/functional/admin_controller_test.rb @@ -64,7 +64,7 @@ class AdminControllerTest < Redmine::ControllerTest ) assert_response :success assert_select 'tr.project', 1 - assert_select 'tr.project td.name', :text => p.name + assert_select 'tr.project td.name a', :text => p.name end def test_projects_with_name_filter diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 80773e0d2..d1755be59 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -130,7 +130,7 @@ class ProjectsControllerTest < Redmine::ControllerTest } assert_response :success - assert_select 'tr[id=?] td.name span[class=?]', 'project-5', 'icon icon-user my-project' + assert_select 'tr[id=?] td.name span[class=?]', 'project-5', 'icon-only icon-user my-project' end def test_index_as_list_should_indent_projects