From 6ca7d4df551690fb244852619191052f26d5183c Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Fri, 3 May 2024 11:57:47 +0000 Subject: [PATCH] Fixes random failing tests. git-svn-id: https://svn.redmine.org/redmine/trunk@22809 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/query_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 8ea079764..cf11bf10e 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -1373,7 +1373,7 @@ class QueryTest < ActiveSupport::TestCase result = query.results_scope bookmarks = User.current.bookmarked_project_ids - assert_equal Project.where(parent_id: bookmarks).ids, result.map(&:id).sort + assert_equal Project.where(parent_id: bookmarks).ids.sort, result.map(&:id).sort end def test_filter_watched_issues -- 2.39.5