Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: 코드 정리 (#232) * refactor: 사용자 유효성 검증 추가 (#232) - 게스트인 경우 UnauthorizedException 발생 * refactor: DTO 관련 네이밍 정리 (#232) * test: 컨트롤러 테스트 리팩토링 (#232) * test: 서비스 테스트 리팩토링 (#232) * test: Data JPA 테스트 리팩토링 (#232) * test: 불필요한 상수 삭제 (#232) * test: 유저 이름 변경 (#232) - loginUser/guestUser -> testUser로 통일 * test: 서비스 테스트 추가 (#232) * test: 서비스 테스트 리팩토링 (#232) * test: 통합 테스트 리팩토링 (#232) * test: 인수 테스트 리팩토링 (#232) * refactor: Builder 사용 (#232) * refactor: Follow 객체에 책임 위임 (#232) * test: 접근 제어자 수정 (#232) * refactor: DTO 리팩토링 (#232) * test: 불필요한 필드 삭제 (#232) * test: WebEnvironment 옵션을 RANDOM_PORT -> NONE으로 변경 (#232) * test: @SpringBootTest -> @DataJpaTest 변경 (#232) * refactor: API 명세에 맞게 필드명 변경 (#232) - image -> imageUrl 변경
- Loading branch information
Showing
21 changed files
with
1,118 additions
and
787 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
14 changes: 0 additions & 14 deletions
14
...ck-git/src/main/java/com/woowacourse/pickgit/user/application/dto/AuthUserServiceDto.java
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...rc/main/java/com/woowacourse/pickgit/user/application/dto/request/AuthUserRequestDto.java
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.woowacourse.pickgit.user.application.dto.request; | ||
|
||
import lombok.Builder; | ||
|
||
@Builder | ||
public class AuthUserRequestDto { | ||
|
||
private String githubName; | ||
|
||
private AuthUserRequestDto() { | ||
} | ||
|
||
public AuthUserRequestDto(String githubName) { | ||
this.githubName = githubName; | ||
} | ||
|
||
public String getGithubName() { | ||
return githubName; | ||
} | ||
} |
14 changes: 10 additions & 4 deletions
14
...ser/application/dto/FollowServiceDto.java → ...ation/dto/response/FollowResponseDto.java
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.