mirror of
https://github.com/redmine/redmine.git
synced 2026-09-09 20:08:58 +02:00
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20710 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -4061,6 +4061,8 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
)
|
||||
end
|
||||
assert_response :success
|
||||
|
||||
assert_select 'label[for=?][class=?]', "issue_custom_field_values_#{field.id}", 'error'
|
||||
assert_select_error /Database cannot be blank/
|
||||
end
|
||||
|
||||
@@ -4094,6 +4096,10 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
)
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
assert_select 'label[for=?][class=?]', 'issue_due_date', 'error'
|
||||
assert_select 'label[for=?][class=?]', "issue_custom_field_values_#{cf2.id}", 'error'
|
||||
|
||||
assert_select_error /Due date cannot be blank/i
|
||||
assert_select_error /Bar cannot be blank/i
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user