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

[#42] Owner 단위테스트 작성 및 코드 리팩토링 #43

Merged
merged 2 commits into from
Dec 4, 2019

Conversation

binaryyoung
Copy link
Contributor

No description provided.

== null) {
log.error("id and password do not match id : {}, password : {}",id,beforePassword);
throw new IllegalArgumentException("id and password do not match");
} else if (beforePassword.equals(afterPassword)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이런 경우는 beforePassword가 null일 경우 NPE가 발생합니다. StringUtils.equals를 사용하면 좋습니다.

@binaryyoung binaryyoung changed the title #42 feature/19 #42 #30 feature/19 Dec 3, 2019
- ShopServiceTest addShop() 테스트 코드 추가
@binaryyoung binaryyoung merged commit dfd9740 into develop Dec 4, 2019
@binaryyoung binaryyoung changed the title #42 #30 feature/19 [#42] Owner 단위테스트 작성 및 코드 리팩토링 Dec 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants