mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-06 23:51:31 +00:00
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
This commit is contained in:
parent
85fe2b8fa4
commit
baab521b8b
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user