summaryrefslogtreecommitdiffstats
path: root/test/unit/query_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r--test/unit/query_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index bb097f88a..4d6650ee8 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -2814,6 +2814,7 @@ class QueryTest < ActiveSupport::TestCase
project_query = IssueQuery.find(1)
query = IssueQuery.find(4)
user_query = IssueQuery.find(3)
+ user_query.update(visibility: Query::VISIBILITY_PUBLIC)
user_query.update_column :user_id, user.id
[nil, user, User.anonymous].each do |u|