Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 13, 2024
1 parent 3f006ed commit 3ac6dbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@
require File.expand_path "#{File.dirname __FILE__}/../../additionals/test/global_test_helper"

module RedminePrivacyTerms
module TestHelper
include Additionals::GlobalTestHelper
end

class TestCase
include ActionDispatch::TestProcess
include RedminePrivacyTerms::TestHelper

def self.prepare
Role.where(id: [1, 2]).find_each do |r|
Expand Down
2 changes: 1 addition & 1 deletion test/unit/i18n_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require File.expand_path '../../test_helper', __FILE__

class I18nTest < ActiveSupport::TestCase
class I18nTest < RedminePrivacyTerms::TestCase
include Redmine::I18n

def setup
Expand Down

0 comments on commit 3ac6dbe

Please sign in to comment.