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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10618 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-10-12 14:32:55 +00:00
parent b537a2f1de
commit 924e5ad61b
1 changed files with 1 additions and 0 deletions

View File

@ -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