GitLab wurde erfolgreich aktualisiert. Durch regelmäßige Updates bleibt das THM GitLab sicher. Danke für Ihre Geduld.

Commit d2d479ae authored by tmaruyama's avatar tmaruyama

code layout clean up of test_category_based_assignment at test/unit/issue_test.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@7472 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent fd545a2b
......@@ -282,7 +282,10 @@ class IssueTest < ActiveSupport::TestCase
end
def test_category_based_assignment
issue = Issue.create(:project_id => 1, :tracker_id => 1, :author_id => 3, :status_id => 1, :priority => IssuePriority.all.first, :subject => 'Assignment test', :description => 'Assignment test', :category_id => 1)
issue = Issue.create(:project_id => 1, :tracker_id => 1, :author_id => 3,
:status_id => 1, :priority => IssuePriority.all.first,
:subject => 'Assignment test',
:description => 'Assignment test', :category_id => 1)
assert_equal IssueCategory.find(1).assigned_to, issue.assigned_to
end
......
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