Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2010 at 22:04 UTC
Updated:
10 Sep 2012 at 11:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
janusman commentedTitle change
Comment #2
jpmckinney commentedYes, tests are spectacularly broken. apachesolr_drupal_query() no longer stores queries like a factory. Some functions have been renamed. Some signatures have changed.
I fixed the two unit tests as much as possible. Some tests in solr_base_query.test and solr_base_subquery.test still fail, because get_url_queryvalues() will only return filters whose corresponding fields exist in the index (and we don't have an index).
To get those tests passing, and the tests in solr_index_and_search.test, we should incorporate #418920: create mock Solr class for unit testing.
Also, apachesolr_nodeaccess.test depends on nodeaccess being installed. It also assumes the nodeaccess realms nodeaccess_rid and nodeaccess_author are defined.
Committed http://drupal.org/cvs?commit=357952 http://drupal.org/cvs?commit=357956
Comment #3
jpmckinney commented#418920: create mock Solr class for unit testing needs to go in first.
Comment #4
jpmckinney commentedCommitted #2 to 6-1 http://drupal.org/cvs?commit=361854
Comment #5
jpmckinney commentedMarking duplicate of #989398: Apache Solr: Get some tests working
Comment #6
kenorb commentedComment #7
kenorb commentedComment #8
kenorb commented