mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
confirm in:private works for non staff
This commit is contained in:
parent
5bbc477baa
commit
9b84cd832c
@ -198,6 +198,12 @@ describe Search do
|
||||
|
||||
expect(results.posts.length).to eq(1)
|
||||
|
||||
results = Search.execute('mars in:private',
|
||||
search_context: post.user,
|
||||
guardian: Guardian.new(post.user))
|
||||
|
||||
expect(results.posts.length).to eq(1)
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user