Project

General

Profile

Actions

Patch #37451

closed

Add missing fixture versions to IssuesPdfHelperTest

Added by Go MAEDA over 2 years ago. Updated over 2 years ago.

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

0%

Estimated time:

Description

IssuesPdfHelperTest randomly fails due to a missing fixture.

$ RAILS_ENV=test bin/rake db:reset
Dropped database 'db/test.sqlite3'
Created database 'db/test.sqlite3'
$ bin/rails test test/unit/lib/redmine/export/pdf/issues_pdf_test.rb:40
Run options: --seed 27822

# Running:

E

Error:
IssuesPdfHelperTest#test_fetch_row_values_should_be_able_to_handle_parent_issue_subject:
ActiveRecord::RecordInvalid: Validation failed: Target version is not included in the list
    test/unit/lib/redmine/export/pdf/issues_pdf_test.rb:45:in `test_fetch_row_values_should_be_able_to_handle_parent_issue_subject'

rails test test/unit/lib/redmine/export/pdf/issues_pdf_test.rb:40

Files

Actions

Also available in: Atom PDF