Skip to content

Commit 1c3024c

Browse files
committed
test(user): 객체간 동등 비교 추가
1 parent 0a44b9a commit 1c3024c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/somemore/user/repository/usercommonattribute/UserCommonAttributeRepositoryImplTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ void saveUserCommonAttribute() {
3030

3131
// then
3232
assertThat(savedUserCommonAttribute).isNotNull();
33+
assertThat(savedUserCommonAttribute).isEqualTo(userCommonAttribute);
34+
3335
assertThat(savedUserCommonAttribute.getId()).isNotNull();
3436
assertThat(savedUserCommonAttribute.getUserId()).isEqualTo(userId);
3537
assertThat(savedUserCommonAttribute.getImgUrl()).isEqualTo(ImageUploadService.DEFAULT_IMAGE_URL);

0 commit comments

Comments
 (0)