summaryrefslogtreecommitdiffstats
path: root/test/functional/timelog_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-04-27 06:19:26 +0000
committerGo MAEDA <maeda@farend.jp>2020-04-27 06:19:26 +0000
commit953fce3c95d383a85c8d9dd7dd8f3865ffca8515 (patch)
treea1a3d67ea94e057250ec4031292e91dd2cc24d4d /test/functional/timelog_controller_test.rb
parentee46c3570ec5f3948a94adedfdefd734822f95af (diff)
downloadredmine-953fce3c95d383a85c8d9dd7dd8f3865ffca8515.tar.gz
redmine-953fce3c95d383a85c8d9dd7dd8f3865ffca8515.zip
Fix time entry user is shown twice in the User drop-down (#33341).
Patch by Thomas Löber and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19727 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/timelog_controller_test.rb')
-rw-r--r--test/functional/timelog_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb
index ae8a692f0..3b7e10bde 100644
--- a/test/functional/timelog_controller_test.rb
+++ b/test/functional/timelog_controller_test.rb
@@ -226,7 +226,7 @@ class TimelogControllerTest < Redmine::ControllerTest
assert_response :success
assert_select 'select[name=?]', 'time_entry[user_id]' do
- assert_select 'option[value="2"][selected=selected]'
+ assert_select 'option[value="2"][selected=selected]', 1
end
end