Open sanak opened 2 years ago
Well, easiest fix is just deleting original fixture's attachments at the setup of the test as follows, but probably it is not the best solution, because supply => s3 plugin dependency is not preferable.
--- a/test/unit/supply_item_test.rb
+++ b/test/unit/supply_item_test.rb
@@ -5,6 +5,7 @@ class SupplyItemTest < ActiveSupport::TestCase
setup do
@project = Project.find 'ecookbook'
+ Attachment.delete_all
end
test 'should find items' do
The complex thing is that Redmine fixtures doesn't include actual attachments files, so this may be rather s3 plugin side work...
Problem When using redmica_s3 plugin with dummy test configuration,
I encountered the following error.
To Reproduce Execute the following command with using redmica_s3 plugin's dummy test configuration.
Expectation The test should pass always.