From: Go MAEDA Date: Wed, 11 Sep 2024 08:13:32 +0000 (+0000) Subject: Fix test failure in IssuesSystemTest due to incorrect attachment count expectation... X-Git-Tag: 6.0.0~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=51312cc318180bb265b6ad32fdd7d1c2472a7521;p=redmine.git Fix test failure in IssuesSystemTest due to incorrect attachment count expectation (#41238). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23051 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 2b83ef362..be0744157 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -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