issues
search
minho-jang
/
i-like-this-page
It's a widget that allows visitors to mark "LIKE" on your page.
1
stars
0
forks
source link
Test the LikeService
#39
Closed
minho-jang
closed
3 years ago
minho-jang
commented
3 years ago
Closes #38
LikeService
를 테스트하는 코드를 작성한다. 정상적으로 저장, 조회, 삭제가 동작하는지 확인한다.
DB는 인메모리 DB인 h2를 사용한다. 개발 configuration과 테스트 configuration을 구분하기 위해 테스트를 위한 application.yml을 추가하였고, profile을 사용하여 configuration을 선택할 수 있도록 했다.
LikeService
를 테스트하는 코드를 작성한다. 정상적으로 저장, 조회, 삭제가 동작하는지 확인한다.