Fix that IssuesControllerTest occasionally fails (#33100, #4511).

Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@19562 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-03-05 12:48:47 +00:00
parent a748b9ba58
commit 7a97dba9ab

View File

@@ -5242,7 +5242,7 @@ class IssuesControllerTest < Redmine::ControllerTest
)
end
issue = Issue.order('id DESC').first
assert_equal [3, 10], issue.watcher_user_ids
assert_equal [3, 10], issue.watcher_user_ids.sort
end
def test_create_as_copy_without_watcher_user_ids_should_not_copy_watchers