Patch #37470
Add missing fixture versions to MailHandlerControllerTest
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 5.1.0 |
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
Related issues
Associated revisions
Add missing fixture versions to MailHandlerControllerTest (#37470).
Patch by Dmitry Makurin.
History
#1
Updated by Dmitry Makurin 27 days ago
- Copied from Patch #37469: Add missing fixture versions to RepositoryTest added
#2
Updated by Dmitry Makurin 27 days ago
- File 37470.patch
added