Skip to content

Commit e446f99

Browse files
committed
fix: 테스트에서 RateLimitFilter 컨텍스트 오류 수정 및 누락된 ErrorCode 추가
1 parent 4e70a56 commit e446f99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/Rootin/domain/garden/service/ExperienceServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ void applyWateringDuplicateFail() {
332332
experienceService.applyWatering(testUser.getId(), testPot, 500, testTil.getId());
333333
});
334334

335-
assertThat(exception.getStatus()).isEqualTo(org.springframework.http.HttpStatus.CONFLICT);
335+
assertThat(exception.getStatus()).isEqualTo(org.springframework.http.HttpStatus.BAD_REQUEST);
336336
assertThat(exception.getMessage()).contains("이미 물주기가 완료된 TIL입니다.");
337337
}
338338

0 commit comments

Comments
 (0)