이전 글에서 로그인 시 화면 이동을 체크하기 위해 DB에 직접 insert를 할 때, JpaAuditing에 오류가 있는 것 같다고 하였다./h2-console로 접속해 insert를 하면createdDate랑 modifiedDate가 null로 떴기 때문이다.JpaAuditing을 설정해두었으니, 자동으로 떠야 하는게 아닌가?라는 생각이었다. 그래서 test 코드를 작성해 테스트했다.코드는 다음과 같다. @Autowired private UserInfoRepository userInfoRepository; @Test public void testJpaAuditing() throws Exception{ // given UserInfo userInfo = ne..