From 1ed4c4d40eb1326227d0c7bf9c3450b7e5913c9a Mon Sep 17 00:00:00 2001 From: David Wayne Smiley Date: Fri, 15 Jun 2012 05:42:51 +0000 Subject: [PATCH] SOLR-3304 Removed a small bit of redundant testing that tests if [e]dismax defaults to schema defaultSearchField (already tested by TestExtendedDismaxParser). These specific tests will fail for another reason soon if left as is. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350466 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/test-files/solr/conf/solrconfig.xml | 6 ------ .../org/apache/solr/DisMaxRequestHandlerTest.java | 11 ----------- 2 files changed, 17 deletions(-) diff --git a/solr/core/src/test-files/solr/conf/solrconfig.xml b/solr/core/src/test-files/solr/conf/solrconfig.xml index 921c253654d..e78b2e92a28 100644 --- a/solr/core/src/test-files/solr/conf/solrconfig.xml +++ b/solr/core/src/test-files/solr/conf/solrconfig.xml @@ -232,12 +232,6 @@ - - - dismax - - - diff --git a/solr/core/src/test/org/apache/solr/DisMaxRequestHandlerTest.java b/solr/core/src/test/org/apache/solr/DisMaxRequestHandlerTest.java index 63d9cc5c660..54d5336aeb8 100644 --- a/solr/core/src/test/org/apache/solr/DisMaxRequestHandlerTest.java +++ b/solr/core/src/test/org/apache/solr/DisMaxRequestHandlerTest.java @@ -194,16 +194,5 @@ public class DisMaxRequestHandlerTest extends SolrTestCaseJ4 { assertTrue(p_bool.matcher(resp).find()); } - - @Test - public void testSimplestParams() throws Exception { - - assertQ("match w/o only q param", - req("qt", "dismaxNoDefaults", - "q","guide") - ,"//*[@numFound='2']" - ); - - } }