-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: add curation bio * fix: url 공유 배너 수행 사파리 문제 해결 * fix: url 복사 사파리 문제 해결 * feat: 프로필 이미지 업로드 용량 제한 구현 * feat: 닉네임 변경 유효성 검사 구현 * feat: 후원 금액 최대 금액 적용 및 유효성 input으로 변경 * fix: 결제약관 라우팅 메인홈페이지로 되는 현상 Co-authored-by: Chayan <[email protected]> * feat: 로그인 기본 상태유지로 변경 Co-authored-by: Chayan <[email protected]> Co-authored-by: jho2301 <[email protected]> Co-authored-by: Chayan <[email protected]>
- Loading branch information
1 parent
e3ac918
commit 530b22f
Showing
17 changed files
with
117 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export const DONATION_MESSAGE_AMOUNT_PER_PAGE = 5; | ||
|
||
export const MIN_DONATION_AMOUNT = 1000; | ||
export const MAX_DONATION_AMOUNT = 9900000; | ||
|
||
export const MAX_MESSAGE_LENGTH = 200; |
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 |
---|---|---|
|
@@ -101,21 +101,27 @@ public void curationListTest() { | |
|
||
Member member1 = new Member("email1", "nick1", "page1", | ||
Oauth2Type.GOOGLE, "https://cloudfront.net/profile1.png"); | ||
member1.updateBio("I am test"); | ||
|
||
Member member2 = new Member("email2", "nick2", "page2", | ||
Oauth2Type.GOOGLE, "https://cloudfront.net/profile2.png"); | ||
member2.updateBio("I am test"); | ||
|
||
Member member3 = new Member("email3", "nick3", "page3", | ||
Oauth2Type.GOOGLE, "https://cloudfront.net/profile3.png"); | ||
member3.updateBio("I am test"); | ||
|
||
Member member4 = new Member("email4", "nick4", "page4", | ||
Oauth2Type.GOOGLE, "https://cloudfront.net/profile4.png"); | ||
member4.updateBio("I am test"); | ||
|
||
Member member5 = new Member("email5", "nick5", "page5", | ||
Oauth2Type.GOOGLE, "https://cloudfront.net/profile5.png"); | ||
member5.updateBio("I am test"); | ||
|
||
Member member6 = new Member("email6", "nick6", "page6", | ||
Oauth2Type.GOOGLE, "https://cloudfront.net/profile6.png"); | ||
member6.updateBio("I am test"); | ||
|
||
Donation donation1 = new Donation( | ||
paymentRepository.save(new Payment(1000L, "[email protected]", "test") | ||
|
@@ -178,19 +184,28 @@ public void curationListTest() { | |
|
||
List<CurationsResponse> curations = memberRepository.findCurations(); | ||
assertThat(curations.get(0)).usingRecursiveComparison().isEqualTo( | ||
new CurationsResponse("nick6", 13000L, "page6", "https://cloudfront.net/profile6.png") | ||
new CurationsResponse("nick6", 13000L, "page6", | ||
"https://cloudfront.net/profile6.png", "I am test") | ||
); | ||
|
||
assertThat(curations.get(1)).usingRecursiveComparison().isEqualTo( | ||
new CurationsResponse("nick3", 7000L, "page3", "https://cloudfront.net/profile3.png") | ||
new CurationsResponse("nick3", 7000L, "page3", | ||
"https://cloudfront.net/profile3.png", "I am test") | ||
); | ||
|
||
assertThat(curations.get(2)).usingRecursiveComparison().isEqualTo( | ||
new CurationsResponse("nick5", 5000L, "page5", "https://cloudfront.net/profile5.png") | ||
new CurationsResponse("nick5", 5000L, "page5", | ||
"https://cloudfront.net/profile5.png", "I am test") | ||
); | ||
|
||
assertThat(curations.get(3)).usingRecursiveComparison().isEqualTo( | ||
new CurationsResponse("nick2", 2000L, "page2", "https://cloudfront.net/profile2.png") | ||
new CurationsResponse("nick2", 2000L, "page2", | ||
"https://cloudfront.net/profile2.png", "I am test") | ||
); | ||
|
||
assertThat(curations.get(4)).usingRecursiveComparison().isEqualTo( | ||
new CurationsResponse("nick1", 1000L, "page1", "https://cloudfront.net/profile1.png") | ||
new CurationsResponse("nick1", 1000L, "page1", | ||
"https://cloudfront.net/profile1.png", "I am test") | ||
); | ||
} | ||
} |
Oops, something went wrong.