Project

General

Profile

Actions

Patch #33700

closed

Add missing fixture to Redmine::ApiTest::ProjectsTest

Added by Go MAEDA almost 4 years ago. Updated almost 4 years ago.

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

0%

Estimated time:

Description

The attached patch fixes the following error.

$ bin/rails db:reset RAILS_ENV=test
$ bin/rails test test/integration/api_test/projects_test.rb:86
Run options: --seed 19242

# Running:

F

Failure:
Redmine::ApiTest::ProjectsTest#test_GET_/projects.xml_with_include=issue_custom_fields_should_return_custom_fields [/path/to/redmine/test/integration/api_test/projects_test.rb:91]:
Expected at least 1 element matching "issue_custom_fields[type=array] custom_field[name="Project 1 cf"]", found 0..
Expected 0 to be >= 1.

bin/rails test test/integration/api_test/projects_test.rb:86

Files

fix_projects_test.patch (832 Bytes) fix_projects_test.patch Go MAEDA, 2020-07-06 09:36
Actions #1

Updated by Go MAEDA almost 4 years ago

  • Tracker changed from Defect to Patch
  • Subject changed from Redmine::ApiTest::ProjectsTest may fail due to missing fixture to Add missing fixture to Redmine::ApiTest::ProjectsTest
  • Target version changed from Candidate for next major release to 4.2.0

Setting the target version to 4.2.0.

Actions #2

Updated by Go MAEDA almost 4 years ago

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

Committed the fix.

Actions

Also available in: Atom PDF