プロジェクト

全般

プロフィール

Vote #79603

完了

Missing fixture enabled_modules in TrackerTest

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
99
issue_org_id:
29820
author_id:
367646
assigned_to_id:
332
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

It looks like test/unit/tracker_test.rb has an unspecified dependency on the :enabled_modules fixture. To reproduce:

bundle exec rake db:test:prepare
bundle exec rake test TEST=test/unit/tracker_test.rb

=>
TrackerTest#test_visible_scope_chained_with_project_rolled_up_trackers [/home/circleci/tablexi/xi-redmine/test/unit/tracker_test.rb:40]:
Expected: [2]
  Actual: []
Environment:
  Redmine version                3.4.6.devel
  Ruby version                   2.4.1-p111 (2017-03-22) [x86_64-darwin17]
  Rails version                  5.2.1
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine plugins:
  no plugin installed

The spec passes when the :enabled_modules fixture is specified.


journals

Committed the patch. Thank you for reporting this issue.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Committed the patch. Thank you for reporting this issue.

Happy to be able to contribute.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン4.0.0_99 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0