diff --git a/src/test/java/org/elasticsearch/index/analysis/VietnameseAnalysisIntegrationTest.java b/src/test/java/org/elasticsearch/index/analysis/VietnameseAnalysisIntegrationTest.java index 134df7e..313919e 100644 --- a/src/test/java/org/elasticsearch/index/analysis/VietnameseAnalysisIntegrationTest.java +++ b/src/test/java/org/elasticsearch/index/analysis/VietnameseAnalysisIntegrationTest.java @@ -75,6 +75,6 @@ public void testVietnameseAnalyzerInMapping() throws ExecutionException, Interru refresh(); SearchResponse response = client().prepareSearch("test").setQuery( QueryBuilders.matchQuery("foo", "công nghệ thông tin")).execute().actionGet(); - assertThat(response.getHits().getTotalHits(), is(1L)); + assertThat(response.getHits().getTotalHits().toString(), is("1 hits")); } }