Patch #32094
Remove unnecessary call to set_tmp_attachments_directory
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 4.1.0 |
Description
In test/integration/api_test/attachments_test.rb and test/functional/attachments_controller_test.rb, calling the method set_tmp_attachments_directory
at the tail of a method is unnecessary because the method is called in the teardown
method (see source:tags/4.0.4/test/integration/api_test/attachments_test.rb#L37 and source:tags/4.0.4/test/functional/attachments_controller_test.rb#L33).
This patch removes the unnecessary calls to set_tmp_attachments_directory
.
Associated revisions
Fixes not to call set_tmp_attachments_directory twice after each test (#32094).
Patch by Go MAEDA.
History
#1
Updated by Go MAEDA almost 3 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Target version set to 4.1.0
Committed the fix.