Skip to content

Commit

Permalink
[Fix] : 식별자 값 자동 할당으로 인한 테스트 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
elyudwo committed Jan 25, 2024
1 parent 5408c02 commit a87b53e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import kr.co.studyhubinu.studyhubserver.user.domain.UserEntity;
import kr.co.studyhubinu.studyhubserver.user.repository.UserRepository;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
Expand Down Expand Up @@ -115,8 +116,8 @@ class ApplyRepositoryTest {

// then
assertAll(
() -> assertEquals(result.getUserId(), user.getId()),
() -> assertEquals(result.getStudyId(), apply.getId())
() -> assertEquals(result.getUserId(), apply.getUserId()),
() -> assertEquals(result.getStudyId(), apply.getStudyId())
);
}

Expand Down

0 comments on commit a87b53e

Please sign in to comment.