Actions
Testing #2368
closedActiveRecord::RecordInvalid: Validation failed: Invalid format or setting (i.e. Multiple values) for at least one field
Start date:
Due date:
% Done:
100%
Estimated time:
Compatible Redmine Version:
5.0.z, 5.1.z
Pull Request Link:
Description
[FAILED] redmine_computable_custom_field
W, [2024-08-28 11:36:53 +0200] WARN -- : DMS WebDAV is enabled: Rails env is test and XMERA_OMNIA_WEBDAV is set to false.
SimpleCov started successfully!
Plugins with tests are beeing loaded!
Hold on, I am eager loading the application.
All is good!
Run options: --seed 814
# Running:
......................Capybara starting Puma...
* Version 6.4.2, codename: The Eagle of Durango
* Min threads: 0, max threads: 4
* Listening on http://0.0.0.0:3434
...........E.............................
Finished in 12.801182s, 4.9214 runs/s, 10.5459 assertions/s.
1) Error:
ComputableCustomField::ModelPatchTest#test_should_calculate_float_with_division_by_zero:
ActiveRecord::RecordInvalid: Validation failed: Invalid format or setting (i.e. Multiple values) for at least one field
plugins/redmine_computable_custom_field/test/methods_helper.rb:83:in `computed_field'
plugins/redmine_computable_custom_field/test/methods_helper.rb:43:in `field_with_float_format'
plugins/redmine_computable_custom_field/test/unit/lib/extensions/model_patch_test.rb:36:in `block in <class:ModelPatchTest>'
63 runs, 135 assertions, 0 failures, 1 errors, 0 skips
Coverage report generated for MiniTest NAME=redmine_computable_custom_field to /home/liane-xmera/redmine/plugins/redmine_computable_custom_field/tmp/coverage. 555 / 578 LOC (96.02%) covered.
Actions