1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-06 00:53:24 +00:00

Use require_relative to load test_helper so that tests can be run with the ruby command (#29664).

git-svn-id: https://svn.redmine.org/redmine/trunk@24108 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2025-11-03 03:07:38 +00:00
parent 2ff1c33169
commit 42a8c0e38f
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'test_helper'
require_relative '../test_helper'
class WebhooksControllerTest < Redmine::ControllerTest
setup do

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'test_helper'
require_relative '../../test_helper'
class WebhookEndpointValidatorTest < ActiveSupport::TestCase
class TestModel

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'test_helper'
require_relative '../test_helper'
class WebhookPayloadTest < ActiveSupport::TestCase
include ActiveJob::TestHelper

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'test_helper'
require_relative '../test_helper'
require 'pp'
class WebhookTest < ActiveSupport::TestCase