Skip to content

Commit 33506f7

Browse files
committed
Test: 테스트 코드 변경
1 parent 0bc1791 commit 33506f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/kotlin/io/ticketaka/api/point/application/PointServiceTest.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class PointServiceTest {
4848
}
4949
}
5050

51-
val pointService = PointService(tokenUserQueryService, pointQueryService, pointBalanceCacheUpdater, mock())
51+
val pointService = PointService(tokenUserQueryService, pointQueryService, pointBalanceCacheUpdater, mock(), mock())
5252

5353
// when
5454
pointService.recharge(rechargeCommand)
@@ -85,7 +85,7 @@ class PointServiceTest {
8585
}
8686
}
8787

88-
val pointService = PointService(tokenUserQueryService, pointQueryService, pointBalanceCacheUpdater, mock())
88+
val pointService = PointService(tokenUserQueryService, pointQueryService, pointBalanceCacheUpdater, mock(), mock())
8989

9090
// when
9191
val exception =
@@ -111,7 +111,7 @@ class PointServiceTest {
111111
on { getPoint(any()) } doReturn point
112112
}
113113
val pointBalanceCacheUpdater = mock<PointBalanceCacheUpdater>()
114-
val pointService = PointService(tokenUserQueryService, pointQueryService, pointBalanceCacheUpdater, mock())
114+
val pointService = PointService(tokenUserQueryService, pointQueryService, pointBalanceCacheUpdater, mock(), mock())
115115

116116
// when
117117
val balanceQueryModel = pointService.getBalance(user.id)

0 commit comments

Comments
 (0)