From ca16a23ad5ad235ec2b981750fb8dbb09e208d2d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 24 Sep 2019 04:18:44 +0000 Subject: Don't show unsettable permissions in the tracker permissions table (#30431). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18508 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/roles_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/functional/roles_controller_test.rb b/test/functional/roles_controller_test.rb index e78370a46..dccb37fc7 100644 --- a/test/functional/roles_controller_test.rb +++ b/test/functional/roles_controller_test.rb @@ -158,6 +158,7 @@ class RolesControllerTest < Redmine::ControllerTest assert_select 'input[name=?][value=?]', 'role[name]', 'Manager' assert_select 'select[name=?]', 'role[issues_visibility]' + assert_select '#role-permissions-trackers table .delete_issues_shown' end def test_edit_anonymous @@ -166,6 +167,7 @@ class RolesControllerTest < Redmine::ControllerTest assert_select 'input[name=?]', 'role[name]', 0 assert_select 'select[name=?]', 'role[issues_visibility]', 0 + assert_select '#role-permissions-trackers table .delete_issues_shown', 0 end def test_edit_invalid_should_respond_with_404 -- cgit v1.2.3