SOLR-2523: Fixed test failure

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150365 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Martijn van Groningen 2011-07-24 13:45:46 +00:00
parent 9558bfe674
commit 37cf58540e
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class QueryResponseTest extends LuceneTestCase {
@Test @Test
public void testRangeFacets() throws Exception { public void testRangeFacets() throws Exception {
XMLResponseParser parser = new XMLResponseParser(); XMLResponseParser parser = new XMLResponseParser();
InputStream is = new SolrResourceLoader(null, null).openResource("sampleDateFacetResponse.xml"); InputStream is = new SolrResourceLoader(null, null).openResource("solrj/sampleDateFacetResponse.xml");
assertNotNull(is); assertNotNull(is);
Reader in = new InputStreamReader(is, "UTF-8"); Reader in = new InputStreamReader(is, "UTF-8");
NamedList<Object> response = parser.processResponse(in); NamedList<Object> response = parser.processResponse(in);