Rename test class to match renamed implementation

Used to be QuerySpec, is now RatedRequest; changing name
of test accordingly.
This commit is contained in:
Isabel Drost-Fromm 2016-09-07 12:12:06 +02:00
parent 0d25fc4925
commit 2af0218bdd
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public class RankEvalSpecTests extends ESTestCase {
List<RatedRequest> specs = new ArrayList<>();
size = randomIntBetween(1, 2); // TODO I guess requests with no query spec should be rejected...
for (int i = 0; i < size; i++) {
specs.add(QuerySpecTests.createTestItem(indices, types));
specs.add(RatedRequestsTests.createTestItem(indices, types));
}
String specId = randomAsciiOfLengthBetween(1, 10); // TODO we should reject zero length ids ...

View File

@ -42,7 +42,7 @@ import java.util.List;
import static java.util.Collections.emptyList;
public class QuerySpecTests extends ESTestCase {
public class RatedRequestsTests extends ESTestCase {
private static SearchModule searchModule;
private static SearchRequestParsers searchRequestParsers;