Project

General

Profile

Feature #36320 » 0004-Fix-for-https-github.com-rails-rails-pull-48585.patch

Takashi Kato, 2024-08-20 01:00

View differences:

test/integration/api_test/projects_test.rb
416 416
    assert p = Project.find(1)
417 417
    assert p.active?
418 418
  end
419

  
420
  def queue_adapter_for_test
421
    ActiveJob::QueueAdapters::TestAdapter.new
422
  end
419 423
end
test/unit/jobs/destroy_project_job_test.rb
66 66
      )
67 67
    end
68 68
  end
69

  
70
  def queue_adapter_for_test
71
    ActiveJob::QueueAdapters::TestAdapter.new
72
  end
69 73
end
test/unit/jobs/destroy_projects_job_test.rb
1 1
# frozen_string_literal: true
2

  
3 2
# Redmine - project management software
4 3
# Copyright (C) 2006-  Jean-Philippe Lang
5 4
#
......
66 65
      )
67 66
    end
68 67
  end
68

  
69
  def queue_adapter_for_test
70
    ActiveJob::QueueAdapters::TestAdapter.new
71
  end
69 72
end
(12-12/13)