mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-27 10:51:15 +00:00
Confusing name: test public query called "private" (#20740).
Patch by Kirill Smirnov. git-svn-id: http://svn.redmine.org/redmine/trunk@14617 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4b8655cb27
commit
71e04370d8
@ -398,7 +398,7 @@ class IssuesControllerTest < ActionController::TestCase
|
||||
end
|
||||
|
||||
def test_public_query_should_be_available_to_other_users
|
||||
q = IssueQuery.create!(:name => "private", :user => User.find(2), :visibility => IssueQuery::VISIBILITY_PUBLIC, :project => nil)
|
||||
q = IssueQuery.create!(:name => "public", :user => User.find(2), :visibility => IssueQuery::VISIBILITY_PUBLIC, :project => nil)
|
||||
@request.session[:user_id] = 3
|
||||
|
||||
get :index, :query_id => q.id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user