Skip to content

Commit

Permalink
test: category_cd 컬럼 추가 테스트 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
hun-ca committed Jul 20, 2024
1 parent b5f58ce commit a1eb90a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ReadArticleUseCaseTest : BehaviorSpec({
every { readArticleWriterRecordService.execute(any()) } returns writerSvcOutDto
every { browseArticleProblemsService.execute(any()) } returns probSvcOutDto
every { articleViewCountHandler.browseArticleViewCount(any()) } returns 1L
every { articleViewHisAsyncHandler.addArticleViewHis(any(), any()) } answers {
every { articleViewHisAsyncHandler.addArticleViewHis(any(), any(), any()) } answers {
log.debug { "Inserting article view history asynchronously" }
}

Expand All @@ -76,7 +76,7 @@ class ReadArticleUseCaseTest : BehaviorSpec({
verify(exactly = 1) { readArticleWriterRecordService.execute(any()) }
verify(exactly = 1) { browseArticleProblemsService.execute(any()) }
verify(exactly = 1) { articleViewCountHandler.browseArticleViewCount(any()) }
verify(exactly = 1) { articleViewHisAsyncHandler.addArticleViewHis(any(), any()) }
verify(exactly = 1) { articleViewHisAsyncHandler.addArticleViewHis(any(), any(), any()) }
}
}

Expand Down

0 comments on commit a1eb90a

Please sign in to comment.