Project

General

Profile

Actions

Patch #33100

closed

Fix a test - Issue watchers are not always sorted by id

Added by Vincent Robert almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hello
Could you please apply this tiny patch?

Currently, when running issues_controller tests, returned issue-watchers are not always sorted by id, which may break the tests.

line 5245 in class IssuesControllerTest
-    assert_equal [3, 10], issue.watcher_user_ids
+    assert_equal [3, 10], issue.watcher_user_ids.sort

Thank you for your work
Vincent


Files

test_fix.diff (555 Bytes) test_fix.diff Vincent Robert, 2020-03-05 12:14

Related issues

Related to Redmine - Feature #4511: Allow adding user groups as watchers for issuesClosedGo MAEDA2010-01-01

Actions
Actions

Also available in: Atom PDF