Actions
Patch #37470
closedAdd missing fixture versions to MailHandlerControllerTest
Description
$ bundle exec rails db:reset test TEST=test/functional/mail_handler_controller_test.rb RAILS_ENV=test Dropped database 'db/test.sqlite3' Created database 'db/test.sqlite3' Run options: --seed 31332 # Running: ..F Failure: MailHandlerControllerTest#test_should_update_issue [/home/makurin/Work/clean-redmine/test/functional/mail_handler_controller_test.rb:88]: "Journal.count" didn't change by 1. Expected: 1 Actual: 0 rails test test/functional/mail_handler_controller_test.rb:82 ..... Finished in 1.692365s, 4.7271 runs/s, 10.0451 assertions/s. 8 runs, 17 assertions, 1 failures, 0 errors, 0 skips
And in the log/test.log
there is a validation error:
MailHandler: Validation failed: Target version is not included in the list
Files
Related issues
Updated by Dmitry Makurin over 2 years ago
- Copied from Patch #37469: Add missing fixture versions to RepositoryTest added
Updated by Go MAEDA over 2 years ago
- Category set to Code cleanup/refactoring
- Status changed from New to Confirmed
- Target version set to 5.1.0
Updated by Go MAEDA over 2 years ago
- Tracker changed from Defect to Patch
- Subject changed from Missing fixture in MailHandlerControllerTest to Add missing fixture versions to MailHandlerControllerTest
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
Committed the fix. Thank you.
Actions