diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-12-16 17:23:08 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-12-16 17:23:08 +0000 |
commit | ba14bc48026901a658313f0901ec34b3e2fcb77b (patch) | |
tree | 57f4175329c31ea8eb8aecfe0f3c22bca10f1368 | |
parent | 4bbe2fc7e6e39d7ef9bb61951eda45c6bddc704a (diff) | |
download | redmine-ba14bc48026901a658313f0901ec34b3e2fcb77b.tar.gz redmine-ba14bc48026901a658313f0901ec34b3e2fcb77b.zip |
Don't hardcode expected text (#3848).
git-svn-id: http://svn.redmine.org/redmine/trunk@17760 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/timelog_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index 572a4d937..67b596744 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -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 |