Project

General

Profile

Actions

Patch #34976

closed

Add missing fixtures to TimeEntryCustomFieldTest

Added by Go MAEDA over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Files

add-missing-fixtures.patch (536 Bytes) add-missing-fixtures.patch Go MAEDA, 2021-03-28 09:59
Actions

Also available in: Atom PDF