Skip to content

Conversation

@nAhYUN22
Copy link

@nAhYUN22 nAhYUN22 commented Oct 2, 2024

테이블 설명

category_id subject
1 sports
2 SW
3 life
notice_id writer title category_id
1 이나현 spring 오류가 났다. 2
2 권세빈 맥북을 샀다. 2
3 강수빈 규동집을 먹었다. 3
4 한지원 베이스를 쳤다. 3

@nowijnah
Copy link

nowijnah commented Oct 2, 2024

이렇게 사생활 공개해도 되는 건가요?

@sebeeeen
Copy link

sebeeeen commented Oct 2, 2024

베이스는 스포츠 아닌가요

@nowijnah
Copy link

nowijnah commented Oct 2, 2024

3번님은 삶이 규동집인건가요?

Comment on lines +35 to +42
// 4. Notice 엔티티가 잘 저장되었는지 확인
assertEquals(1, notices.size());
assertEquals("John Doe", notices.get(0).getWriter());
assertEquals("Football Match", notices.get(0).getTitle());

// 5. Notice와 연결된 Category 확인
assertNotNull(notices.get(0).getCategory());
assertEquals("Sports", notices.get(0).getCategory().getSubject());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Junit5 메소드로 직접 검증하신 것 너무 좋습니다!!!!

Copy link
Member

@jjunhub jjunhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

퍼펙트한 것 같습니다!!
이대로만 킵고잉~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants