-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
refactor: 초대장 생성/상세조회 요청, 응답 DTO 수정 및 초대장 엔티티 추가
- Loading branch information
Showing
35 changed files
with
150 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ class InvitationServiceTest : DescribeSpec({ | |
lateinit var nickname: String | ||
lateinit var email: String | ||
lateinit var qrUrl: String | ||
lateinit var templateKey: String | ||
lateinit var member: Member | ||
var deleted = false | ||
|
||
|
@@ -36,6 +37,7 @@ class InvitationServiceTest : DescribeSpec({ | |
nickname = "seunghyun" | ||
email = "[email protected]" | ||
qrUrl = "http://example.com" | ||
templateKey = "templateKey" | ||
deleted = false | ||
|
||
member = Member( | ||
|
@@ -63,6 +65,7 @@ class InvitationServiceTest : DescribeSpec({ | |
id = invitationId, | ||
member = member, | ||
qrUrl = qrUrl, | ||
templateKey = templateKey, | ||
deleted = deleted, | ||
createdAt = LocalDateTime.now(), | ||
modifiedAt = LocalDateTime.now() | ||
|
@@ -101,13 +104,14 @@ class InvitationServiceTest : DescribeSpec({ | |
id = invitationId, | ||
member = member, | ||
qrUrl = qrUrl, | ||
templateKey = templateKey, | ||
deleted = deleted, | ||
createdAt = LocalDateTime.now(), | ||
modifiedAt = LocalDateTime.now() | ||
) | ||
every { invitationPersistencePort.save(any<InvitationVO>()) } returns savedInvitation | ||
|
||
val result = invitationService.createInvitation(memberId, qrUrl) | ||
val result = invitationService.createInvitation(memberId, qrUrl, templateKey) | ||
|
||
result shouldBe savedInvitation | ||
|
||
|
@@ -127,6 +131,7 @@ class InvitationServiceTest : DescribeSpec({ | |
id = invitationId, | ||
member = member, | ||
qrUrl = qrUrl, | ||
templateKey = templateKey, | ||
deleted = deleted, | ||
createdAt = LocalDateTime.now(), | ||
modifiedAt = LocalDateTime.now() | ||
|
@@ -163,6 +168,7 @@ class InvitationServiceTest : DescribeSpec({ | |
id = invitationId, | ||
member = member, | ||
qrUrl = qrUrl, | ||
templateKey = templateKey, | ||
deleted = false, | ||
createdAt = LocalDateTime.now(), | ||
modifiedAt = LocalDateTime.now() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.