Project

General

Profile

Actions

Patch #37451

closed

Add missing fixture versions to IssuesPdfHelperTest

Added by Go MAEDA 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

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 #1

Updated by Go MAEDA over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the fix.

Actions #2

Updated by Go MAEDA over 1 year ago

  • Subject changed from Add missing fixture to IssuesPdfHelperTest to Add missing fixture versions to IssuesPdfHelperTest
Actions

Also available in: Atom PDF