(UNHEX(REPLACE(:productId, '-', '')
참고
참고2
java.lang.AssertionError:
Expected: same property values as Product [category: <COFFEE_BEAN_PACKAGE>, createAt: <2022-09-03T18:48:51.305909400>, description: null, price: <1000L>, productId: <68d155e7-3f6d-4aa1-bf57-1ab4b4415109>, productName: "update-product", updateAt: <2022-09-03T18:48:59.116026>]
but: createAt was <2022-09-03T18:48:51.305909>
assertThat
에서 오류발생.createAt
에서 오류가 발생한다.↓
Product
클래스에서 private로 설정된 것을 public으로 설정해주면 정상적으로 작동하나, 강의에서는 그런 부분이 없었기 때문에, 의아하다.http://localhost:8080/products
가 정상적으로 접속됐기 때문에 더 그러하다.