Rename test class to match renamed implementation
Used to be QuerySpec, is now RatedRequest; changing name of test accordingly.
This commit is contained in:
parent
0d25fc4925
commit
2af0218bdd
|
@ -82,7 +82,7 @@ public class RankEvalSpecTests extends ESTestCase {
|
||||||
List<RatedRequest> specs = new ArrayList<>();
|
List<RatedRequest> specs = new ArrayList<>();
|
||||||
size = randomIntBetween(1, 2); // TODO I guess requests with no query spec should be rejected...
|
size = randomIntBetween(1, 2); // TODO I guess requests with no query spec should be rejected...
|
||||||
for (int i = 0; i < size; i++) {
|
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 ...
|
String specId = randomAsciiOfLengthBetween(1, 10); // TODO we should reject zero length ids ...
|
||||||
|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
||||||
|
|
||||||
import static java.util.Collections.emptyList;
|
import static java.util.Collections.emptyList;
|
||||||
|
|
||||||
public class QuerySpecTests extends ESTestCase {
|
public class RatedRequestsTests extends ESTestCase {
|
||||||
|
|
||||||
private static SearchModule searchModule;
|
private static SearchModule searchModule;
|
||||||
private static SearchRequestParsers searchRequestParsers;
|
private static SearchRequestParsers searchRequestParsers;
|
Loading…
Reference in New Issue