]> source.dussan.org Git - redmine.git/commitdiff
Merged r22786 from trunk to 5.0-stable (#40603).
authorGo MAEDA <maeda@farend.jp>
Sat, 27 Apr 2024 07:16:30 +0000 (07:16 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 27 Apr 2024 07:16:30 +0000 (07:16 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22789 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_test.rb

index 0664dd719e05a2c9d6f3e9691a411a45226a0891..98bef8dfce0ef8a013f8f47058f20abe24a8d9fa 100644 (file)
@@ -697,9 +697,6 @@ class IssueTest < ActiveSupport::TestCase
     issue.expects(:project_id=).in_sequence(seq)
     issue.expects(:tracker_id=).in_sequence(seq)
     issue.expects(:subject=).in_sequence(seq)
-    assert_raise Exception do
-      issue.attributes = {:subject => 'Test'}
-    end
     assert_nothing_raised do
       issue.attributes = {:tracker_id => 2, :project_id => 1, :subject => 'Test'}
     end