This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Easy Access to ReadMe.md (and potentially other files)"

Files
2
@@ -20,6 +20,7 @@ import java.util.List;
import org.codeability.sharing.plugins.api.SharingPluginConfig;
import org.elasticsearch.client.RestHighLevelClient;
import org.elasticsearch.node.NodeValidationException;
import org.junit.Assert;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -75,6 +76,7 @@ public class SearchServiceIT {
SearchInputDTO searchQuery = new SearchInputDTO(null, searchMetadata, null, null, null, 0);
SearchResultsDTO searchResultPage = searchService.searchResultPage(searchQuery, 0, SearchInputDTO.PAGE_SIZE);
Assert.assertTrue("At least one hit?", searchResultPage.getSearchResult().size() >= 1);
LOGGER.info("found {} hits for all", searchResultPage.getHitCount());
}