[BE] fix: ReviewDeleteEventListenerTest 통과하도록 수정 #322
Annotations
2 errors and 1 warning
ReviewDeleteEventListenerTest$이미지_삭제_로직_작동.리뷰 삭제가 정상적으로 커밋되었지만 이미지가 존재하지 않으면 이미지 삭제 로직이 작동하지않는다:
ReviewDeleteEventListenerTest$이미지_삭제_로직_작동#L106
org.mockito.exceptions.verification.NeverWantedButInvoked:
testImageUploader bean.delete(<any>);
Never wanted here:
-> at com.funeat.review.application.ReviewDeleteEventListenerTest$이미지_삭제_로직_작동.리뷰_삭제가_정상적으로_커밋되었지만_이미지가_존재하지_않으면_이미지_삭제_로직이_작동하지않는다(ReviewDeleteEventListenerTest.java:106)
But invoked here:
-> at com.funeat.review.application.ReviewDeleteEventListener.deleteReviewImageInS3(ReviewDeleteEventListener.java:24) with arguments: [test1]
|
test
Process completed with exit code 1.
|
리뷰 삭제가 정상적으로 커밋되었지만 이미지가 존재하지 않으면 이미지 삭제 로직이 작동하지않는다 (com.funeat.review.application.ReviewDeleteEventListenerTest$이미지_삭제_로직_작동) failed:
com.funeat.review.application.ReviewDeleteEventListenerTest$이미지_삭제_로직_작동#L0
backend/build/test-results/test/TEST-com.funeat.review.application.ReviewDeleteEventListenerTest$#c774#bbf8#c9c0_#c0ad#c81c_#b85c#c9c1_#c791#b3d9.xml [took 1s]
|