Project

General

Profile

Actions

Patch #32094

closed

Remove unnecessary call to set_tmp_attachments_directory

Added by Go MAEDA over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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.


Files

Actions #1

Updated by Go MAEDA over 4 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version set to 4.1.0

Committed the fix.

Actions

Also available in: Atom PDF