Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taehyeon 깃 충돌 test #41

Open
wants to merge 21 commits into
base: 8th
Choose a base branch
from
Open

Conversation

taehyeon3
Copy link
Contributor

No description provided.

@MockBean
CourseService courseService;

@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

작성하실때 @beforeeach 쓰시면 중복선언 안하셔도 됩니다.

.orElseThrow(() -> new CustomException(CustomError.COURSE_NOT_FOUND));
final Sugang sugang = sugangRepository.findByStudentAndCourse(student, course)
.orElseThrow(() -> new CustomException(CustomError.SUGANG_NOT_FOUND));
if (sugang.getStatus() == SugangStatus.CANCELED) {
Copy link
Contributor

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.

2 participants