Project

General

Profile

Actions

Defect #40239

closed

Add missing fixtures in Redmine::ApiTest::IssuesTest

Added by Vincent Robert 3 months ago. Updated about 2 months ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The test "POST /issues.xml with watcher_user_ids should create issue with watchers" in Redmine::ApiTest::IssuesTest
is failing if we run only this one.

We should add the fixture "user_preferences" in the issues_test.rb file.

It is due to the new "add_auto_watcher" features, which automatically set the author as a watcher by default. The author is added to all new issues if we don't load the preferences.

Actions

Also available in: Atom PDF