refactor: Product, Room, Cart 도메인에 대한 Refactoring #238
gradle.yml
on: pull_request
Build and test project
1m 30s
Annotations
3 errors and 2 warnings
ReservationServiceTest.정상적으로 예약을 저장할 수 있다.:
src/test/java/com/fc/shimpyo_be/domain/reservation/unit/service/ReservationServiceTest.java#L153
com.fc.shimpyo_be.domain.cart.exception.CartNotDeleteException: 해당 장바구니를 삭제할 권한이 없습니다
|
ReservationServiceTest.객실 정보가 존재하지 않으면 예약을 저장할 수 없다.:
src/test/java/com/fc/shimpyo_be/domain/reservation/unit/service/ReservationServiceTest.java#L262
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
com.fc.shimpyo_be.domain.room.exception.RoomNotFoundException
but was:
com.fc.shimpyo_be.domain.cart.exception.CartNotDeleteException: 해당 장바구니를 삭제할 권한이 없습니다
at com.fc.shimpyo_be.domain.cart.service.CartService.deleteCart(CartService.java:80)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
...(119 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
Build and test project
Gradle build failed: see console output for details
|
정상적으로 예약을 저장할 수 있다. (com.fc.shimpyo_be.domain.reservation.unit.service.ReservationServiceTest) failed:
com.fc.shimpyo_be.domain.reservation.unit.service.ReservationServiceTest#L0
build/test-results/test/TEST-com.fc.shimpyo_be.domain.reservation.unit.service.ReservationServiceTest.xml [took 0s]
|
객실 정보가 존재하지 않으면 예약을 저장할 수 없다. (com.fc.shimpyo_be.domain.reservation.unit.service.ReservationServiceTest) failed:
com.fc.shimpyo_be.domain.reservation.unit.service.ReservationServiceTest#L0
build/test-results/test/TEST-com.fc.shimpyo_be.domain.reservation.unit.service.ReservationServiceTest.xml [took 0s]
|