mirror of https://github.com/apache/lucene.git
changing test to expect error code 400 rather then 1 for unknown sort field
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0d62dbd149
commit
fa6d8ba5dc
|
@ -787,7 +787,7 @@ public class ConvertedLegacyTest extends AbstractSolrTestCase {
|
|||
req( "id_i:1000; nullfirst" ), 400 );
|
||||
|
||||
assertQEx( "unknown sort field",
|
||||
req( "id_i:1000; abcde12345 asc" ), 1 );
|
||||
req( "id_i:1000; abcde12345 asc" ), 400 );
|
||||
|
||||
assertQEx( "unknown sort order",
|
||||
req( "id_i:1000; nullfirst aaa" ), 400 );
|
||||
|
|
Loading…
Reference in New Issue