diff options
Diffstat (limited to 'test/unit/query_test.rb')
-rw-r--r-- | test/unit/query_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index a516c7a98..8a39d09a1 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -769,8 +769,8 @@ class QueryTest < ActiveSupport::TestCase end should "include users of subprojects" do - user1 = User.generate_with_protected! - user2 = User.generate_with_protected! + user1 = User.generate! + user2 = User.generate! project = Project.find(1) Member.create!(:principal => user1, :project => project.children.visible.first, :role_ids => [1]) @query.project = project |