プロジェクト

全般

プロフィール

Vote #81333

完了

Add missing fixtures to TimeEntryCustomFieldTest

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

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

説明

The test fails randomly due to missing fixtures.

$ bin/rails db:reset RAILS_ENV=test
$ bin/rails test test/unit/time_entry_custom_field_test.rb:49
Run options: --seed 42338

# Running:

F

Failure:
TimeEntryCustomFieldTest#test_safe_attributes_should_include_only_custom_fields_visible_to_user [/Users/maeda/redmines/redmine-trunk/test/unit/time_entry_custom_field_test.rb:64]:
Expected: "value1"
  Actual: nil


bin/rails test test/unit/time_entry_custom_field_test.rb:49

journals

Committed the patch.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

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

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

いいね!0
いいね!0