wafflestudio / seminar-2021

2021 Rookies 세미나
47 stars 110 forks source link

MockMvc content의 Bad Request #662

Open moonpiderman opened 2 years ago

moonpiderman commented 2 years ago

요약

post API 테스트를 거치려는데 Bad Request가 뜹니다.





상황

image 테스트 요청하는 함수입니다

image 테스트단을 생성하는 부분입니다.

createSeminar 부분에서 body를 signup과 마찬가지로 String 형태로 넘겨 주었는데 bad request가 뜹니다.





문제 내용

image 위와 같이 400이 뜹니다.. 혹시 어느 부분에서 잘못되었을까요?