]> source.dussan.org Git - redmine.git/commitdiff
Fix test failure in IssuesSystemTest due to incorrect attachment count expectation...
authorGo MAEDA <maeda@farend.jp>
Wed, 11 Sep 2024 08:13:32 +0000 (08:13 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 11 Sep 2024 08:13:32 +0000 (08:13 +0000)
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23051 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/system/issues_test.rb

index 2b83ef3620d36d0e97df500513b6df81afa9ef6a..be0744157d9fad9e606d7eb4c31126a96cc87a7e 100644 (file)
@@ -274,7 +274,7 @@ class IssuesSystemTest < ApplicationSystemTestCase
 
     click_on 'Submit'
 
-    assert_equal 1, Issue.find(2).attachments.count
+    assert_equal 3, Issue.find(2).attachments.count
   end
 
   test "removing issue shows confirm dialog" do