Project

General

Profile

Actions

Patch #37470

closed

Add missing fixture versions to MailHandlerControllerTest

Added by Dmitry Makurin over 1 year ago. Updated over 1 year ago.

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

0%

Estimated time:

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

37470.patch (727 Bytes) 37470.patch Dmitry Makurin , 2022-07-20 10:24

Related issues

Copied from Redmine - Patch #37469: Add missing fixture versions to RepositoryTestClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF