Fix GetCLusteringFunctionANdDistancesCommandTest
This commit is contained in:
parent
626c17c649
commit
79ec6988d6
@ -74,7 +74,7 @@ public class GetClusteringFunctionsAndDistancesCommandTest {
|
||||
public void testGetFunctionsAndKeyers() throws ServletException, IOException {
|
||||
command.doGet(request, response);
|
||||
ObjectNode result = ParsingUtilities.mapper.readValue(writer.toString(), ObjectNode.class);
|
||||
assertTrue(Arrays.asList(JSONUtilities.getStringArray(result, "keyers")).contains("metaphone"));
|
||||
assertTrue(Arrays.asList(JSONUtilities.getStringArray(result, "keyers")).contains("metaphone3"));
|
||||
assertTrue(Arrays.asList(JSONUtilities.getStringArray(result, "distances")).contains("levenshtein"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user