From a1eb90aa6ca6f8889eaa81596f323466e83447f5 Mon Sep 17 00:00:00 2001 From: Jihun-Hwang Date: Sat, 20 Jul 2024 21:06:11 +0900 Subject: [PATCH] =?UTF-8?q?test:=20category=5Fcd=20=EC=BB=AC=EB=9F=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EB=B0=98?= =?UTF-8?q?=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../few/api/domain/article/usecase/ReadArticleUseCaseTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/test/kotlin/com/few/api/domain/article/usecase/ReadArticleUseCaseTest.kt b/api/src/test/kotlin/com/few/api/domain/article/usecase/ReadArticleUseCaseTest.kt index e6524f177..e832feb97 100644 --- a/api/src/test/kotlin/com/few/api/domain/article/usecase/ReadArticleUseCaseTest.kt +++ b/api/src/test/kotlin/com/few/api/domain/article/usecase/ReadArticleUseCaseTest.kt @@ -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" } } @@ -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()) } } }