diff --git a/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java b/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java index ba62739..4154c7f 100644 --- a/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java +++ b/src/main/java/com/loafle/overflow/module/meta/service/MetaCrawlerService.java @@ -16,7 +16,7 @@ public class MetaCrawlerService { @Autowired private MetaCrawlerDAO crawlerDAO; - List readAll() { + public List readAll() { return this.crawlerDAO.findAll(); } } diff --git a/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java b/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java index 72a0ec0..9f69845 100644 --- a/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java +++ b/src/test/java/com/loafle/overflow/module/meta/service/MetaCrawlerServiceTest.java @@ -29,6 +29,8 @@ public class MetaCrawlerServiceTest { Assert.assertNotEquals(metaCrawlerServices.size(), 0); + + System.out.println(metaCrawlerServices.size()); } } \ No newline at end of file