nickva commented on code in PR #4662: URL: https://github.com/apache/couchdb/pull/4662#discussion_r1305858384
########## src/mango/src/mango_idx.erl: ########## @@ -479,7 +500,186 @@ get_legacy_selector(Def) -> end. -ifdef(TEST). --include_lib("eunit/include/eunit.hrl"). +-include_lib("couch/include/couch_eunit.hrl"). + +get_usable_indexes_test_() -> + { + foreach, + fun() -> + meck:new(fabric_util), + meck:new(ddoc_cache), + meck:new(mango_idx_special), + meck:new(mango_idx_view), + meck:new(mango_sort), + meck:new(mango_cursor) Review Comment: I think these don't need to be declared unless they have a `[passthrough]` or other customization? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org