Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
fix: checkEmailToken test 중 User 객체를 만들 때 PR에 phone, status 정보를 누락으로 …
Browse files Browse the repository at this point in the history
…인한 테스트 실패로 수정 (#51)
  • Loading branch information
reversalSpring authored Aug 4, 2021
1 parent 6c0f888 commit bc0fa06
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.flab.kidsafer.domain.SignInRequest;
import com.flab.kidsafer.domain.User;
import com.flab.kidsafer.domain.enums.Status;
import com.flab.kidsafer.domain.enums.UserType;
import com.flab.kidsafer.error.exception.TokenInvalidException;
import com.flab.kidsafer.error.exception.UserNotSignInException;
Expand Down Expand Up @@ -147,6 +148,8 @@ void checkEmailToken_with_wrong_input() throws Exception {
@DisplayName("인증 메일 확인 - 입력값 정상")
void checkEmailToken() throws Exception {
User user = new User.Builder("test@email.com", "12345678", UserType.ADMIN)
.phone("01012341234")
.status(Status.DEFAULT)
.nickname("leejun")
.build();
user.setPassword(SHA256Util.getSHA256(user.getPassword()));
Expand Down

0 comments on commit bc0fa06

Please # to comment.