Commit 2766df97 authored by jplang's avatar jplang

Don't hardcode expected text (#3848).

git-svn-id: https://svn.redmine.org/redmine/trunk@17760 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f9e2cef6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment