작성
·
208
0
//then
Item findItem = itemRepository.findById(itemId);
assertThat(findItem.getId()).isEqualTo(updateParam.getId());
assertThat(findItem.getItemName()).isEqualTo(updateParam.getItemName());
assertThat(findItem.getPrice()).isEqualTo(updateParam.getPrice());
assertThat(findItem.getQuantity()).isEqualTo(updateParam.getQuantity());
왜 id가 null이되는지요?