Skip to content

Commit

Permalink
Refactor | CAKK-84 | 코드 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
lcomment committed Sep 21, 2024
1 parent ec4e152 commit 1bf3472
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class UserServiceTest extends ServiceTest {
void findProfile1() {
// given
final User user = getUser();
System.out.println(user.getId());

doReturn(user).when(userReadFacade).findByUserId(user.getId());

Expand Down
4 changes: 2 additions & 2 deletions cakk-core/src/main/kotlin/com/cakk/core/mapper/EventMapper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ fun supplyCertificationMessageBy(certificationEvent: CertificationEvent): Certif
certificationEvent.userId,
certificationEvent.userEmail,
certificationEvent.shopName,
certificationEvent.location?.y,
certificationEvent.location?.x
certificationEvent.location.y,
certificationEvent.location.x
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ data class CertificationMessage(
val userId: Long,
val userEmail: String,
val shopName: String,
val latitude: Double?,
val longitude: Double?
val latitude: Double,
val longitude: Double
)

0 comments on commit 1bf3472

Please sign in to comment.