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:
Ryan McKinley 2007-04-29 06:05:25 +00:00
parent 0d62dbd149
commit fa6d8ba5dc
1 changed files with 1 additions and 1 deletions

View File

@ -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 );