Project

General

Profile

Actions

Patch #33700

closed

Add missing fixture to Redmine::ApiTest::ProjectsTest

Added by Go MAEDA over 4 years ago. Updated over 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

Also available in: Atom PDF