Actions
Defect #40239
closedAdd missing fixtures in Redmine::ApiTest::IssuesTest
Status:
Closed
Priority:
Normal
Assignee:
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.
Updated by Marius BĂLTEANU 10 months ago
- Category set to Code cleanup/refactoring
- Status changed from New to Closed
- Assignee set to Marius BĂLTEANU
- Resolution set to Fixed
Committed, thanks!
Updated by Vincent Robert 9 months ago
Hi.
It seems the revision has been backported to test/system/issues_test.rb
instead of test/integration/api_test/issues_test.rb
I managed to reproduce the failing test with Redmine 5.1.2
Updated by Marius BĂLTEANU 9 months ago
Actions