diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-16 10:53:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-16 10:53:48 +0000 |
commit | baab521b8ba0d82fcbf0528d867651813ff34169 (patch) | |
tree | a0e4b9835102f4698e84b610979780c9368d6964 | |
parent | 85fe2b8fa41951f7c3cbf19ab867f976f6ee34b4 (diff) | |
download | redmine-baab521b8ba0d82fcbf0528d867651813ff34169.tar.gz redmine-baab521b8ba0d82fcbf0528d867651813ff34169.zip |
Fixed that "test_editable_by_for_global_query" and "test_editable_by_for_global_query_with_project_set" are identical (#28264).
git-svn-id: http://svn.redmine.org/redmine/trunk@17384 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/query_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 4dfc25712..dd5ef3629 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -1750,7 +1750,6 @@ class QueryTest < ActiveSupport::TestCase developer = User.find(3) q = IssueQuery.find(4) - q.project = Project.find(1) assert q.editable_by?(admin) assert !q.editable_by?(manager) |