Change the default value for "Time span format" from "decimal" to "minutes" (#36391).

git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2022-01-08 04:04:50 +00:00
parent 4fbbcf3cdf
commit f670f0e572
11 changed files with 52 additions and 52 deletions

View File

@@ -341,7 +341,7 @@ class IssuesControllerTransactionTest < Redmine::ControllerTest
:subject => ''
},
:time_entry => {
:hours => '2.5',
:hours => '2:30',
:comments => 'should not be added',
:activity_id => TimeEntryActivity.first.id
}
@@ -350,7 +350,7 @@ class IssuesControllerTransactionTest < Redmine::ControllerTest
assert_response :success
end
assert_select 'input[name=?][value=?]', 'time_entry[hours]', '2.50'
assert_select 'input[name=?][value=?]', 'time_entry[hours]', '2:30'
assert_select 'input[name=?][value=?]', 'time_entry[comments]', 'should not be added'
assert_select 'select[name=?]', 'time_entry[activity_id]' do
assert_select 'option[value=?][selected=selected]', TimeEntryActivity.first.id.to_s