mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-01 05:09:40 +00:00
Don't hardcode expected text (#3848).
git-svn-id: http://svn.redmine.org/redmine/trunk@17760 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4bbe2fc7e6
commit
ba14bc4802
@ -342,7 +342,7 @@ class TimelogControllerTest < Redmine::ControllerTest
|
||||
}
|
||||
|
||||
assert_response 403
|
||||
assert_select 'p[id=?]', 'errorExplanation', :text => 'Your role is not allowed to log time for other users'
|
||||
assert_select 'p[id=?]', 'errorExplanation', :text => I18n.t(:error_not_allowed_to_log_time_for_other_users)
|
||||
end
|
||||
|
||||
def test_create_and_continue_at_project_level
|
||||
@ -622,7 +622,7 @@ class TimelogControllerTest < Redmine::ControllerTest
|
||||
}
|
||||
|
||||
assert_response 403
|
||||
assert_select 'p[id=?]', 'errorExplanation', :text => 'Your role is not allowed to log time for other users'
|
||||
assert_select 'p[id=?]', 'errorExplanation', :text => I18n.t(:error_not_allowed_to_log_time_for_other_users)
|
||||
end
|
||||
|
||||
def test_get_bulk_edit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user