Project

General

Profile

Actions

Patch #40506

closed

Remove redundant ApplicationHelper inclusions

Added by Takuya Kodama 30 days ago. Updated 2 days ago.

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

0%

Estimated time:

Description

ApplicationHelper has already been included in ActionView::TestCase. Although some test classes inherit from ActionView::TestCase, they include ApplicationHelper in their own classes again. Therefore, we don't need to include ApplicationHelper in those classes because it is already included.

For example, the ancestry of WikiFormatting::MacrosTest is as follows, and it includes ApplicationHelper in the WikiFormatting::MacrosTest class again.

  • WikiFormatting::MacrosTest < Redmine::HelperTest < ActionView::TestCase

Files

Actions #1

Updated by Go MAEDA 29 days ago

  • Target version set to 6.0.0

Setting the target version to 6.0.0.

Actions #2

Updated by Takuya Kodama 29 days ago

Go MAEDA wrote in #note-1:

Setting the target version to 6.0.0.

Thank you for handling it.

Actions #3

Updated by Go MAEDA 28 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the fix in r22777. Thank you for your contribution.

Actions #4

Updated by Marius BĂLTEANU 21 days ago

The tests are failing https://www.redmine.org/builds/

Actions #5

Updated by Marius BĂLTEANU 21 days ago

  • Status changed from Closed to Reopened
Actions #6

Updated by Marius BĂLTEANU 2 days ago

  • Status changed from Reopened to Closed

Marius BĂLTEANU wrote in #note-4:

The tests are failing https://www.redmine.org/builds/

It was a random failing test.

Actions

Also available in: Atom PDF