diff --git a/tests/search/raw_attributes/raw_attributes.rb b/tests/search/raw_attributes/raw_attributes.rb index 353257eb8..12c6b2a65 100644 --- a/tests/search/raw_attributes/raw_attributes.rb +++ b/tests/search/raw_attributes/raw_attributes.rb @@ -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