Skip to content

Commit

Permalink
[#80] test: blog crawling test 임시 주석
Browse files Browse the repository at this point in the history
  • Loading branch information
shinheekim committed Dec 22, 2024
1 parent dbd3b19 commit f4885a4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*
package itcast.blog.application;
import itcast.blog.client.JsoupCrawler;
Expand Down Expand Up @@ -42,6 +43,7 @@ void crawlingSuccess() throws IOException {
when(yozmJsoupCrawler.getHtmlDocument(href)).thenReturn(document2);
//when
*/
/* List<Blog> blogs = yozmCrawlingService.crawlBlogs();
//then
Expand All @@ -51,6 +53,8 @@ void crawlingSuccess() throws IOException {
Blog blog = blogs.get(0);
assertThat(blog.getLink()).isEqualTo("https://yozm.wishket.com/magazine/detail/2888/");
assertThat(blog.getTitle()).isEqualTo("더 이상 외면할 수 없는 양자컴퓨터 | 요즘IT");
assertThat(blog.getThumbnail()).isEqualTo("https://yozm.wishket.com/media/news/2888/3.png");*/
assertThat(blog.getThumbnail()).isEqualTo("https://yozm.wishket.com/media/news/2888/3.png");*//*
}
}
*/

0 comments on commit f4885a4

Please sign in to comment.