From 2982737466e96a1469a67265dd6f0b4a38cdcb97 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 19 Jul 2020 14:06:25 +0000 Subject: [PATCH] add attachments existence assertion to IssuesControllerTest#test_get_bulk_copy git-svn-id: http://svn.redmine.org/redmine/trunk@19920 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 6b5c1c0d8..ad2c4cde7 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -7149,6 +7149,10 @@ class IssuesControllerTest < Redmine::ControllerTest end def test_get_bulk_copy + assert_not Issue.find(1).attachments.any? + assert Issue.find(2).attachments.any? + assert Issue.find(3).attachments.any? + @request.session[:user_id] = 2 get( :bulk_edit, -- 2.39.5