From 1481c721a222ccf05a43ae98d1cf7730314a13d5 Mon Sep 17 00:00:00 2001
From: Go MAEDA <maeda@farend.jp>
Date: Sun, 1 Jan 2023 07:13:39 +0000
Subject: Use `require_relative` instead of `require File.expand_path(...,
 __FILE__)` (#38093).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 test/functional/reports_controller_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'test/functional/reports_controller_test.rb')

diff --git a/test/functional/reports_controller_test.rb b/test/functional/reports_controller_test.rb
index e3ce50f01..c83fc6b37 100644
--- a/test/functional/reports_controller_test.rb
+++ b/test/functional/reports_controller_test.rb
@@ -17,7 +17,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
-require File.expand_path('../../test_helper', __FILE__)
+require_relative '../test_helper'
 
 class ReportsControllerTest < Redmine::ControllerTest
   fixtures :projects, :trackers, :issue_statuses, :issues,
-- 
cgit v1.2.3