Skip to content

Commit

Permalink
Test | #30 | @YongsHub | 케이크샵 주인으로 승격 시, 권한 변경 여부 확인 테스트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
YongsHub committed May 21, 2024
1 parent b20ff65 commit b37a925
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import net.jqwik.api.Arbitraries;

import com.cakk.common.enums.Role;
import com.cakk.domain.base.DomainTest;
import com.cakk.domain.dto.param.user.CertificationParam;
import com.cakk.domain.entity.shop.CakeShop;
Expand Down Expand Up @@ -88,5 +89,6 @@ private CertificationParam getCertificationParamFixtureWithUser(User user) {
//then
assertThat(businessInformation.getUser()).isNotNull();
assertThat(businessInformation.getCakeShop().getLinkedFlag()).isTrue();
assertThat(businessInformation.getUser().getRole()).isEqualTo(Role.BUSINESS_OWNER);
}
}

0 comments on commit b37a925

Please sign in to comment.