Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expect issue report when searching in raw attribute. #4297

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion tests/search/raw_attributes/raw_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@ def assert_empty_raw_search
query = "/search/?" + URI.encode_www_form(form)
result = search(query)
assert_equal(0, result.hitcount)
assert_nil(result.errorlist)
if is_streaming
# TODO: Report issue also for streaming search
assert_nil(result.errorlist)
else
assert_not_nil(result.errorlist)
assert_match(/Search is not supported for attribute/, result.errorlist[0]['message'])
end
end

def teardown
Expand Down
Loading