Removed assertion that depends on the order of returned records.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8639 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
980b6db5c0
commit
51030fbe25
|
@ -439,7 +439,6 @@ class QueryTest < ActiveSupport::TestCase
|
|||
|
||||
query.filters = { 'project_id' => {:operator => '=', :values => ['mine']}}
|
||||
result = query.issues
|
||||
assert_include "issues.project_id IN ('1','2','5')", query.statement
|
||||
assert_nil result.detect {|issue| !User.current.member_of?(issue.project)}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue