") ).andExpect(redirectedUrl("/home"));} 我正在努力为用户登录编写集成测试org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 4;nested exception is jav
但是当我尝试传递phoneNumber的整数时,我得到 query did not return a unique result: 5; nested exception is javax.persistence.NonUniqueResultExceptionquery did not return a unique result: 5 org.springframework.dao.IncorrectResultSizeDataAccessException:查询未返回唯一结果: 5
an unexpected error (type=Internal Server Error, status=500).
query did not return a unique result: 4;nested exception is javax.persistence.NonUniqueResultException: query did not return a unique resultnested exception is javax.persistence.NonUniqueResultException: query d