Patch #34976
Add missing fixtures to TimeEntryCustomFieldTest
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 5.0.0 |
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
Associated revisions
Add missing fixtures to TimeEntryCustomFieldTest (#34976).
Patch by Go MAEDA.