Commit 8764b20c authored by tmaruyama's avatar tmaruyama

set language en at test_create_with_invalid_parent_issue_id of unit issue test (#11979)

git-svn-id: https://svn.redmine.org/redmine/trunk@10618 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 78f1faf0
......@@ -109,6 +109,7 @@ class IssueTest < ActiveSupport::TestCase
end
def test_create_with_invalid_parent_issue_id
set_language_if_valid 'en'
issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, :subject => 'Group assignment', :parent_issue_id => '01ABC')
assert !issue.save
assert_equal '01ABC', issue.parent_issue_id
......
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